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