mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
28 lines
748 B
Nix
28 lines
748 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
|
|
numpy, django_colorful, pillow, psycopg2,
|
|
pyparsing, django_2_1, celery, boto3
|
|
}:
|
|
buildPythonPackage rec {
|
|
version = "0.6";
|
|
pname = "django-raster";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9a0f8e71ebeeeb5380c6ca68e027e9de335f43bc15e89dd22e7a470c4eb7aeb8";
|
|
};
|
|
|
|
# Tests require a postgresql + postgis server
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
|
|
pyparsing django_2_1 celery boto3 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Basic raster data integration for Django";
|
|
homepage = https://github.com/geodesign/django-raster;
|
|
license = licenses.mit;
|
|
};
|
|
}
|