nixpkgs/pkgs/development/python-modules/paste/default.nix
R. RyanTM 5c4f11d6c6 python37Packages.paste: 3.0.6 -> 3.0.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-paste/versions
2019-03-11 14:37:59 -04:00

35 lines
646 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, six
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "paste";
version = "3.0.8";
src = fetchPypi {
pname = "Paste";
inherit version;
sha256 = "05w1sh6ky4d7pmdb8nv82n13w22jcn3qsagg5ih3hjmbws9kkwf4";
};
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;
};
}