2017-03-10 11:51:02 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
numpy, django_colorful, pillow, psycopg2,
|
|
|
|
pyparsing, django, celery
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-07-12 11:34:57 +01:00
|
|
|
version = "0.5";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "django-raster";
|
|
|
|
name = "${pname}-${version}";
|
2017-03-10 11:51:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/django-raster/${name}.tar.gz";
|
2017-07-12 11:34:57 +01:00
|
|
|
sha256 = "0v1jldb13s4dqq1vaq8ghfv3743jpi9a9n05bqgjm8szlkq8s7ah";
|
2017-03-10 11:51:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require a postgresql + postgis server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
|
|
|
|
pyparsing django celery ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Basic raster data integration for Django";
|
|
|
|
homepage = https://github.com/geodesign/django-raster;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|