Files
nixpkgs/pkgs/development/python-modules/django-raster/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

50 lines
826 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 = {
description = "Basic raster data integration for Django";
homepage = "https://github.com/geodesign/django-raster";
license = lib.licenses.mit;
};
}