nixpkgs/pkgs/development/python-modules/django-raster/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

26 lines
696 B
Nix

{ stdenv, buildPythonPackage, fetchPypi,
numpy, django_colorful, pillow, psycopg2,
pyparsing, django, celery
}:
buildPythonPackage rec {
version = "0.6";
pname = "django-raster";
src = fetchPypi {
inherit pname version;
sha256 = "9a0f8e71ebeeeb5380c6ca68e027e9de335f43bc15e89dd22e7a470c4eb7aeb8";
};
# Tests require a postgresql + postgis server
doCheck = false;
propagatedBuildInputs = [ numpy django_colorful pillow psycopg2
pyparsing django celery ];
meta = with stdenv.lib; {
description = "Basic raster data integration for Django";
homepage = https://github.com/geodesign/django-raster;
license = licenses.mit;
};
}