mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
35 lines
658 B
Nix
35 lines
658 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pytestrunner
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "paste";
|
|
version = "3.0.5";
|
|
|
|
src = fetchPypi {
|
|
pname = "Paste";
|
|
inherit version;
|
|
sha256 = "1bb2068807ce3592d313ce9b1a25a7ac842a504e7e3b005027193d17a043d1a8";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|