959842a9c7
so that we can use the update script.
25 lines
631 B
Nix
25 lines
631 B
Nix
{ stdenv, buildPythonPackage, fetchurl
|
|
, pytest, mock, pytestcov, coverage }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gunicorn";
|
|
version = "19.3.0";
|
|
name = "${pname}-${version}";
|
|
|
|
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;
|
|
};
|
|
}
|