2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 00:58:15 +00:00
|
|
|
, buildPythonPackage
|
2021-10-07 18:44:48 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2021-12-05 05:46:31 +00:00
|
|
|
, six
|
2018-10-26 00:58:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "paste";
|
2020-12-30 12:16:57 +00:00
|
|
|
version = "3.5.0";
|
2018-10-26 00:58:15 +00:00
|
|
|
|
2021-10-07 18:44:48 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cdent";
|
|
|
|
repo = "paste";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-yaOxbfQ8rdViepxhdF0UzlelC/ozdsP1lOdU5w4OPEQ=";
|
2018-10-26 00:58:15 +00:00
|
|
|
};
|
|
|
|
|
2021-10-07 18:44:48 +00:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs tests/cgiapp_data/
|
|
|
|
'';
|
2018-10-26 00:58:15 +00:00
|
|
|
|
2021-12-05 05:46:31 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
2018-12-02 21:45:42 +00:00
|
|
|
|
2021-10-07 18:44:48 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# broken test
|
|
|
|
"test_file_cache"
|
|
|
|
# requires network connection
|
|
|
|
"test_proxy_to_website"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonNamespaces = [ "paste" ];
|
2018-10-26 00:58:15 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-26 00:58:15 +00:00
|
|
|
description = "Tools for using a Web Server Gateway Interface stack";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://pythonpaste.org/";
|
2018-10-26 00:58:15 +00:00
|
|
|
license = licenses.mit;
|
2021-10-07 18:44:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-10-26 00:58:15 +00:00
|
|
|
};
|
|
|
|
}
|