pythonPackages.django-raster: fix build
This commit is contained in:
parent
5cecdbf834
commit
316f3a63b0
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
|
||||||
numpy, django_colorful, pillow, psycopg2,
|
numpy, django_colorful, pillow, psycopg2,
|
||||||
pyparsing, django, celery, boto3
|
pyparsing, django, celery, boto3, importlib-metadata
|
||||||
}:
|
}:
|
||||||
if stdenv.lib.versionOlder django.version "2.0"
|
if stdenv.lib.versionOlder django.version "2.0"
|
||||||
then throw "django-raster requires Django >= 2.0. Consider overiding the python package set to use django_2."
|
then throw "django-raster requires Django >= 2.0. Consider overiding the python package set to use django_2."
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
|
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
|
||||||
pyparsing django celery boto3 ];
|
pyparsing django celery boto3 importlib-metadata ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Basic raster data integration for Django";
|
description = "Basic raster data integration for Django";
|
||||||
|
Loading…
Reference in New Issue
Block a user