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