python311Packages.sqlmodel: 0.0.18 -> 0.0.19
Diff: https://github.com/tiangolo/sqlmodel/compare/refs/tags/0.0.18...0.0.19 Changelog: https://github.com/tiangolo/sqlmodel/releases/tag/0.0.19
This commit is contained in:
parent
8ef802dd08
commit
1613e71dbe
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user