nixpkgs/pkgs/development/python-modules/wsgitools/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

30 lines
803 B
Nix

{lib
,buildPythonPackage
,fetchPypi
}:
buildPythonPackage rec {
pname = "wsgitools";
version = "0.3.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0q6kmrkqf02fgww7z1g9cw8f70fimdzs1bvv9inb7fsk0c3pcf1i";
};
meta = with lib; {
maintainers = with maintainers; [ clkamp ];
description = "A set of tools working with WSGI";
longDescription = ''
wsgitools is a set of tools working with WSGI (see PEP 333). It
includes classes for filtering content, middlewares for caching,
logging and tracebacks as well as two backends for SCGI. Goals
in writing it were portability and simplicity.
'';
homepage = "https://subdivi.de/~helmut/wsgitools/";
license = licenses.gpl2Plus;
platforms = platforms.all;
};
}