2018-06-23 14:27:58 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
2017-03-10 11:51:02 +00:00
|
|
|
numpy, django_colorful, pillow, psycopg2,
|
|
|
|
pyparsing, django, celery
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
2018-06-12 17:47:00 +01:00
|
|
|
version = "0.6";
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "django-raster";
|
2017-03-10 11:51:02 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 17:47:00 +01:00
|
|
|
sha256 = "9a0f8e71ebeeeb5380c6ca68e027e9de335f43bc15e89dd22e7a470c4eb7aeb8";
|
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;
|
|
|
|
};
|
|
|
|
}
|