2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k,
|
2023-08-04 22:07:22 +00:00
|
|
|
numpy, django-colorful, pillow, psycopg2,
|
2020-04-24 23:36:52 +00:00
|
|
|
pyparsing, django, celery, boto3, importlib-metadata
|
|
|
|
}:
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPythonPackage rec {
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.8.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "django-raster";
|
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "213758fe96d74be502f69f2620f7666961a85caa0551d14573637315035a9745";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Tests require a postgresql + postgis server
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
propagatedBuildInputs = [ numpy django-colorful pillow psycopg2
|
2020-04-24 23:36:52 +00:00
|
|
|
pyparsing django celery boto3 importlib-metadata ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Basic raster data integration for Django";
|
|
|
|
homepage = "https://github.com/geodesign/django-raster";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|