1 { lib, buildPythonPackage, fetchPypi, isPy3k,
2 numpy, django_colorful, pillow, psycopg2,
3 pyparsing, django, celery, boto3, importlib-metadata
5 if lib.versionOlder django.version "2.0"
6 then throw "django-raster requires Django >= 2.0. Consider overiding the python package set to use django_2."
8 buildPythonPackage rec {
10 pname = "django-raster";
15 inherit pname version;
16 sha256 = "9417d8a17930dffee4719f79a38c6ab5d20ac7145d4edf88df0abcb5a360de51";
19 # Tests require a postgresql + postgis server
22 propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
23 pyparsing django celery boto3 importlib-metadata ];
26 description = "Basic raster data integration for Django";
27 homepage = "https://github.com/geodesign/django-raster";
28 license = licenses.mit;