depot/third_party/nixpkgs/pkgs/development/python-modules/geoalchemy2/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

31 lines
663 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, sqlalchemy
, shapely
, setuptools_scm
, pytest
}:
buildPythonPackage rec {
pname = "GeoAlchemy2";
version = "0.8.4";
src = fetchPypi {
inherit pname version;
sha256 = "02jbad9vbnjx8bmfvxg77z18nymrry6li8hy9pwi0yiyvwbnycyr";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ sqlalchemy shapely ];
# https://github.com/geoalchemy/geoalchemy2/blob/e05a676350b11f0e73609379dae5625c5de2e868/TEST.rst
doCheck = false;
meta = with lib; {
homepage = "http://geoalchemy.org/";
license = licenses.mit;
description = "Toolkit for working with spatial databases";
};
}