mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
35 lines
648 B
Nix
35 lines
648 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pytestrunner
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "paste";
|
|
version = "3.4.0";
|
|
|
|
src = fetchPypi {
|
|
pname = "Paste";
|
|
inherit version;
|
|
sha256 = "16sichvhyci1gaarkjs35mai8vphh7b244qm14hj1isw38nx4c03";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ pytestrunner pytest ];
|
|
|
|
# Certain tests require network
|
|
checkPhase = ''
|
|
py.test -k "not test_cgiapp and not test_proxy"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tools for using a Web Server Gateway Interface stack";
|
|
homepage = "http://pythonpaste.org/";
|
|
license = licenses.mit;
|
|
};
|
|
|
|
}
|