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,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
|
black,
|
||||||
|
jinja2,
|
||||||
dirty-equals,
|
dirty-equals,
|
||||||
fastapi,
|
fastapi,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
pdm-backend,
|
pdm-backend,
|
||||||
pydantic,
|
pydantic,
|
||||||
pytest-asyncio,
|
pytest-asyncio,
|
||||||
pytest7CheckHook,
|
pytestCheckHook,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
sqlalchemy,
|
sqlalchemy,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sqlmodel";
|
pname = "sqlmodel";
|
||||||
version = "0.0.18";
|
version = "0.0.19";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -23,9 +26,17 @@ buildPythonPackage rec {
|
|||||||
owner = "tiangolo";
|
owner = "tiangolo";
|
||||||
repo = "sqlmodel";
|
repo = "sqlmodel";
|
||||||
rev = "refs/tags/${version}";
|
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 ];
|
build-system = [ pdm-backend ];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
@ -34,10 +45,12 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
black
|
||||||
|
jinja2
|
||||||
dirty-equals
|
dirty-equals
|
||||||
fastapi
|
fastapi
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest7CheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "sqlmodel" ];
|
pythonImportsCheck = [ "sqlmodel" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user