mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 15:14:13 +00:00
Merge pull request #317160 from pbsds/bump-sqlmodel-1717488551
python311Packages.sqlmodel: 0.0.18 -> 0.0.19
This commit is contained in:
commit
8351ea2df7
@ -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