3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/paste/default.nix
R. RyanTM 233c0a5639 python37Packages.paste: 3.0.5 -> 3.0.6
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-01-17 09:17:33 +01:00

35 lines
646 B
Nix

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