Nick Cao 2024-04-23 10:43:54 -04:00
parent b357ff81bc
commit 038265e4bd
No known key found for this signature in database

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "geoalchemy2"; pname = "geoalchemy2";
version = "0.14.7"; version = "0.15.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -22,15 +22,15 @@ buildPythonPackage rec {
owner = "geoalchemy"; owner = "geoalchemy";
repo = "geoalchemy2"; repo = "geoalchemy2";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-QYYYSYApU5WNqnRObhK6zTGVz2HtTQSMGIBwz3z9szQ="; hash = "sha256-cQixNLtjHPQrnNcxg0MrIdzvun2f1BqKY/2SxfcM2Nc=";
}; };
nativeBuildInputs = [ build-system = [
setuptools setuptools
setuptools-scm setuptools-scm
]; ];
propagatedBuildInputs = [ dependencies = [
sqlalchemy sqlalchemy
packaging packaging
]; ];
@ -38,7 +38,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ nativeCheckInputs = [
alembic alembic
pytestCheckHook pytestCheckHook
] ++ passthru.optional-dependencies.shapely; ] ++ optional-dependencies.shapely;
disabledTestPaths = [ disabledTestPaths = [
# tests require live databases # tests require live databases
@ -60,7 +60,7 @@ buildPythonPackage rec {
"geoalchemy2" "geoalchemy2"
]; ];
passthru.optional-dependencies = { optional-dependencies = {
shapely = [ shapely ]; shapely = [ shapely ];
}; };