2017-03-10 12:51:02 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl,
|
|
|
|
numpy, django_colorful, pillow, psycopg2,
|
|
|
|
pyparsing, django, celery
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2017-05-27 14:24:47 +02:00
|
|
|
version = "0.4";
|
2017-05-27 11:25:35 +02:00
|
|
|
pname = "django-raster";
|
|
|
|
name = "${pname}-${version}";
|
2017-03-10 12:51:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/d/django-raster/${name}.tar.gz";
|
2017-05-27 14:24:47 +02:00
|
|
|
sha256 = "7fd6afa42b07ac51a3873e3d4840325dd3a8a631fdb5b853c76fbbfe59a2b17f";
|
2017-03-10 12:51:02 +01: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;
|
|
|
|
};
|
|
|
|
}
|