bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
41 lines
606 B
Nix
41 lines
606 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 = "Waitress WSGI server serving django";
|
|
mainProgram = "waitress-serve-django";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ basvandijk ];
|
|
};
|
|
}
|