2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 17:12:28 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, sqlalchemy
|
|
|
|
, shapely
|
2020-06-23 20:54:13 +01:00
|
|
|
, setuptools_scm
|
|
|
|
, pytest
|
2018-10-26 17:12:28 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "GeoAlchemy2";
|
2020-07-06 10:01:38 +01:00
|
|
|
version = "0.8.4";
|
2018-10-26 17:12:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 10:01:38 +01:00
|
|
|
sha256 = "02jbad9vbnjx8bmfvxg77z18nymrry6li8hy9pwi0yiyvwbnycyr";
|
2018-10-26 17:12:28 +01:00
|
|
|
};
|
|
|
|
|
2020-06-23 20:54:13 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2018-10-26 17:12:28 +01:00
|
|
|
propagatedBuildInputs = [ sqlalchemy shapely ];
|
|
|
|
|
2020-06-23 20:54:13 +01:00
|
|
|
# https://github.com/geoalchemy/geoalchemy2/blob/e05a676350b11f0e73609379dae5625c5de2e868/TEST.rst
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://geoalchemy.org/";
|
2018-10-26 17:12:28 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "Toolkit for working with spatial databases";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|