at 17.09-beta 643 B view raw
1{ stdenv, buildPythonPackage, fetchurl 2, pytest, mock, pytestcov, coverage }: 3 4buildPythonPackage rec { 5 pname = "gunicorn"; 6 version = "19.7.1"; 7 name = "${pname}-${version}"; 8 9 src = fetchurl { 10 url = "mirror://pypi/g/gunicorn/${name}.tar.gz"; 11 sha256 = "eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622"; 12 }; 13 14 buildInputs = [ pytest mock pytestcov coverage ]; 15 16 prePatch = '' 17 substituteInPlace requirements_test.txt --replace "==" ">=" 18 ''; 19 20 meta = with stdenv.lib; { 21 homepage = http://pypi.python.org/pypi/gunicorn; 22 description = "WSGI HTTP Server for UNIX"; 23 license = licenses.mit; 24 }; 25}