summary refs log tree commit diff
path: root/pkgs/development/python-modules/geoalchemy2/default.nix
blob: 56f9346668f69202e1df6b5ed7de654dce4ec349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, stdenv
, 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";
  };

}