pythonPackages.geoalchemy2: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-26 12:12:28 -04:00
committed by Frederik Rietdijk
parent 6680dbe4cb
commit be778594c0
2 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, sqlalchemy
, shapely
}:
buildPythonPackage rec {
pname = "GeoAlchemy2";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0p2h1kgl5b0jz8wadx485vjh1mmm5s67p71yxh9lhp1441hkfswf";
};
propagatedBuildInputs = [ sqlalchemy shapely ];
meta = with stdenv.lib; {
homepage = http://geoalchemy.org/;
license = licenses.mit;
description = "Toolkit for working with spatial databases";
};
}