forked from mirrors/nixpkgs
pythonPackages.waitress: refactor move to python-modules
This commit is contained in:
parent
1fe585403d
commit
88c225d45a
24
pkgs/development/python-modules/waitress/default.nix
Normal file
24
pkgs/development/python-modules/waitress/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "waitress";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0pw6yyxi348r2xpq3ykqnf7gwi881azv2422d2ixb0xi5jws2ky7";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/Pylons/waitress;
|
||||
description = "Waitress WSGI server";
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ garbas domenkozar ];
|
||||
};
|
||||
|
||||
}
|
|
@ -4095,21 +4095,7 @@ in {
|
|||
|
||||
vultr = callPackage ../development/python-modules/vultr { };
|
||||
|
||||
waitress = buildPythonPackage rec {
|
||||
name = "waitress-1.0.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/w/waitress/${name}.tar.gz";
|
||||
sha256 = "0pw6yyxi348r2xpq3ykqnf7gwi881azv2422d2ixb0xi5jws2ky7";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
maintainers = with maintainers; [ garbas domenkozar ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
waitress = callPackage ../development/python-modules/waitress { };
|
||||
|
||||
waitress-django = callPackage ../development/python-modules/waitress-django { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue