fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
49 lines
832 B
Nix
49 lines
832 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
isPy3k,
|
|
numpy,
|
|
django-colorful,
|
|
pillow,
|
|
psycopg2,
|
|
pyparsing,
|
|
django,
|
|
celery,
|
|
boto3,
|
|
importlib-metadata,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.8.1";
|
|
format = "setuptools";
|
|
pname = "django-raster";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "213758fe96d74be502f69f2620f7666961a85caa0551d14573637315035a9745";
|
|
};
|
|
|
|
# Tests require a postgresql + postgis server
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
django-colorful
|
|
pillow
|
|
psycopg2
|
|
pyparsing
|
|
django
|
|
celery
|
|
boto3
|
|
importlib-metadata
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Basic raster data integration for Django";
|
|
homepage = "https://github.com/geodesign/django-raster";
|
|
license = licenses.mit;
|
|
};
|
|
}
|