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