Skip to content

Commit

Permalink
Merge pull request #317160 from pbsds/bump-sqlmodel-1717488551
Browse files Browse the repository at this point in the history
python311Packages.sqlmodel: 0.0.18 -> 0.0.19
  • Loading branch information
pbsds authored Jun 12, 2024
2 parents c99caec + 1613e71 commit 8351ea2
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions pkgs/development/python-modules/sqlmodel/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
lib,
buildPythonPackage,
black,
jinja2,
dirty-equals,
fastapi,
fetchFromGitHub,
fetchpatch,
pdm-backend,
pydantic,
pytest-asyncio,
pytest7CheckHook,
pytestCheckHook,
pythonOlder,
sqlalchemy,
}:

buildPythonPackage rec {
pname = "sqlmodel";
version = "0.0.18";
version = "0.0.19";
pyproject = true;

disabled = pythonOlder "3.7";
Expand All @@ -23,9 +26,17 @@ buildPythonPackage rec {
owner = "tiangolo";
repo = "sqlmodel";
rev = "refs/tags/${version}";
hash = "sha256-2ens+wEFJThccBTBeBy8j1AzKJtebg3dJTGG6+Cpt+Q=";
hash = "sha256-Fr/umAgTbcfBtui+V/ncp4no+pquLExB/dInSFhsgGc=";
};

patches = [
(fetchpatch { # https://github.com/tiangolo/sqlmodel/pull/969
name = "passthru-environ-variables.patch";
url = "https://github.com/tiangolo/sqlmodel/pull/969/commits/42d33049e9e4182b78914ad41d1e3d30125126ba.patch";
hash = "sha256-dPuFCFUnmTpduxn45tE8XUP0Jlwjwmwe+zFaKSganOg=";
})
];

build-system = [ pdm-backend ];

dependencies = [
Expand All @@ -34,10 +45,12 @@ buildPythonPackage rec {
];

nativeCheckInputs = [
black
jinja2
dirty-equals
fastapi
pytest-asyncio
pytest7CheckHook
pytestCheckHook
];

pythonImportsCheck = [ "sqlmodel" ];
Expand Down

0 comments on commit 8351ea2

Please sign in to comment.