nixpkgs/pkgs/development/python-modules/django-sr/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

22 lines
496 B
Nix

{ lib, buildPythonPackage, fetchPypi, django, nose }:
buildPythonPackage rec {
pname = "django-sr";
version = "0.0.4";
format = "setuptools";
meta = {
description = "Django settings resolver";
homepage = "https://github.com/jespino/django-sr";
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "0d3yqppi1q3crcn9nxx58wzm4yw61d5m7435g6rb9wcamr9bi1im";
};
buildInputs = [ django nose ];
propagatedBuildInputs = [ django ];
}