mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
pythonPackages.gunicorn: 19.1.0 -> 19.3.0
This commit is contained in:
parent
bbe73c77c1
commit
1f5b7484a3
23
pkgs/development/python-modules/gunicorn.nix
Normal file
23
pkgs/development/python-modules/gunicorn.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, buildPythonPackage, fetchurl
|
||||
, pytest, mock, pytestcov, coverage }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "gunicorn-19.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gunicorn/${name}.tar.gz";
|
||||
sha256 = "12d0jd9y9fyssc28mn8j6nzrck8y05hc946p5h0rmbc25043bj4b";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest mock pytestcov coverage ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace requirements_test.txt --replace "==" ">="
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pypi.python.org/pypi/gunicorn;
|
||||
description = "WSGI HTTP Server for UNIX";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -12418,21 +12418,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
gunicorn = buildPythonPackage rec {
|
||||
name = "gunicorn-19.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/gunicorn/${name}.tar.gz";
|
||||
sha256 = "ae1dd6452f62b3470bc9acaf62cb5301545fbb9c697d863a5bfe35097ed7a0b3";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pytest ];
|
||||
|
||||
meta = {
|
||||
homepage = http://pypi.python.org/pypi/gunicorn;
|
||||
description = "WSGI HTTP Server for UNIX";
|
||||
};
|
||||
};
|
||||
gunicorn = callPackage ../development/python-modules/gunicorn.nix { };
|
||||
|
||||
hawkauthlib = buildPythonPackage rec {
|
||||
name = "hawkauthlib-${version}";
|
||||
|
|
Loading…
Reference in a new issue