pythonPackages.django-raster: fix build

This commit is contained in:
Lancelot SIX 2020-01-28 15:05:52 +01:00 committed by Frederik Rietdijk
parent 5cecdbf834
commit 316f3a63b0

View file

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
numpy, django_colorful, pillow, psycopg2,
pyparsing, django, celery, boto3
pyparsing, django, celery, boto3, importlib-metadata
}:
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."
@ -20,7 +20,7 @@ buildPythonPackage rec {
doCheck = false;
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
pyparsing django celery boto3 ];
pyparsing django celery boto3 importlib-metadata ];
meta = with stdenv.lib; {
description = "Basic raster data integration for Django";