Merge pull request #317160 from pbsds/bump-sqlmodel-1717488551

python311Packages.sqlmodel: 0.0.18 -> 0.0.19
This commit is contained in:
Peder Bergebakken Sundt 2024-06-12 14:07:11 +02:00 committed by GitHub
commit 8351ea2df7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
@ -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 = [
@ -34,10 +45,12 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
black
jinja2
dirty-equals
fastapi
pytest-asyncio
pytest7CheckHook
pytestCheckHook
];
pythonImportsCheck = [ "sqlmodel" ];