2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k,
|
2017-03-10 11:51:02 +00:00
|
|
|
numpy, django_colorful, pillow, psycopg2,
|
2020-01-28 14:05:52 +00:00
|
|
|
pyparsing, django, celery, boto3, importlib-metadata
|
2017-03-10 11:51:02 +00:00
|
|
|
}:
|
2022-03-05 23:57:19 +00:00
|
|
|
|
2017-03-10 11:51:02 +00:00
|
|
|
buildPythonPackage rec {
|
2021-06-18 21:47:14 +00:00
|
|
|
version = "0.8.1";
|
2017-05-27 09:25:35 +00:00
|
|
|
pname = "django-raster";
|
2017-03-10 11:51:02 +00:00
|
|
|
|
2018-09-09 09:34:18 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
2018-06-23 13:27:58 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:14 +00:00
|
|
|
sha256 = "213758fe96d74be502f69f2620f7666961a85caa0551d14573637315035a9745";
|
2017-03-10 11:51:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require a postgresql + postgis server
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
|
2020-01-28 14:05:52 +00:00
|
|
|
pyparsing django celery boto3 importlib-metadata ];
|
2017-03-10 11:51:02 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-03-10 11:51:02 +00:00
|
|
|
description = "Basic raster data integration for Django";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/geodesign/django-raster";
|
2017-03-10 11:51:02 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|