depot/third_party/nixpkgs/pkgs/development/python-modules/waitress-django/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
608 B
Nix

{
lib,
buildPythonPackage,
setuptools,
django,
waitress,
}:
let
fs = lib.fileset;
in
buildPythonPackage {
pname = "waitress-django";
version = "1.0.0";
pyproject = true;
src = fs.toSource {
root = ./.;
fileset = fs.unions [
./setup.py
./src
];
};
build-system = [ setuptools ];
pythonPath = [
django
waitress
];
doCheck = false;
meta = with lib; {
description = "A waitress WSGI server serving django";
mainProgram = "waitress-serve-django";
license = licenses.mit;
maintainers = with maintainers; [ basvandijk ];
};
}