Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 31 lines 663 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, sqlalchemy 5, shapely 6, setuptools_scm 7, pytest 8}: 9 10buildPythonPackage rec { 11 pname = "GeoAlchemy2"; 12 version = "0.8.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "02jbad9vbnjx8bmfvxg77z18nymrry6li8hy9pwi0yiyvwbnycyr"; 17 }; 18 19 nativeBuildInputs = [ setuptools_scm ]; 20 propagatedBuildInputs = [ sqlalchemy shapely ]; 21 22 # https://github.com/geoalchemy/geoalchemy2/blob/e05a676350b11f0e73609379dae5625c5de2e868/TEST.rst 23 doCheck = false; 24 25 meta = with lib; { 26 homepage = "http://geoalchemy.org/"; 27 license = licenses.mit; 28 description = "Toolkit for working with spatial databases"; 29 }; 30 31}