mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
5c4f11d6c6
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
35 lines
646 B
Nix
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;
|
|
};
|
|
|
|
}
|