3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.waitress: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:33:21 -04:00
parent 1fe585403d
commit 88c225d45a
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 15 deletions

View 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 ];
};
}

View file

@ -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 { };