1{ stdenv, buildPythonPackage, fetchurl,
2 numpy, django_colorful, pillow, psycopg2,
3 pyparsing, django, celery
4}:
5buildPythonPackage rec {
6 version = "0.5";
7 pname = "django-raster";
8 name = "${pname}-${version}";
9
10 src = fetchurl {
11 url = "mirror://pypi/d/django-raster/${name}.tar.gz";
12 sha256 = "0v1jldb13s4dqq1vaq8ghfv3743jpi9a9n05bqgjm8szlkq8s7ah";
13 };
14
15 # Tests require a postgresql + postgis server
16 doCheck = false;
17
18 propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
19 pyparsing django celery ];
20
21 meta = with stdenv.lib; {
22 description = "Basic raster data integration for Django";
23 homepage = https://github.com/geodesign/django-raster;
24 license = licenses.mit;
25 };
26}