nixpkgs/pkgs/development/python-modules/paste/default.nix

35 lines
640 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, six
, pytest-runner
2018-12-02 21:45:42 +00:00
, pytest
}:
buildPythonPackage rec {
pname = "paste";
2020-12-30 12:16:57 +00:00
version = "3.5.0";
src = fetchPypi {
2018-12-02 21:45:42 +00:00
pname = "Paste";
inherit version;
2020-12-30 12:16:57 +00:00
sha256 = "17f3zppjjprs2jnklvzkz23mh9jdn6b1f445mvrjdm4ivi15q28v";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytest-runner pytest ];
2018-12-02 21:45:42 +00:00
# Certain tests require network
checkPhase = ''
2018-12-02 21:45:42 +00:00
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;
};
}