1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "paste";
10 version = "3.5.0";
11
12 src = fetchFromGitHub {
13 owner = "cdent";
14 repo = "paste";
15 rev = version;
16 sha256 = "sha256-yaOxbfQ8rdViepxhdF0UzlelC/ozdsP1lOdU5w4OPEQ=";
17 };
18
19 postPatch = ''
20 patchShebangs tests/cgiapp_data/
21 '';
22
23 propagatedBuildInputs = [ six ];
24
25 checkInputs = [ pytestCheckHook ];
26
27 disabledTests = [
28 # broken test
29 "test_file_cache"
30 # requires network connection
31 "test_proxy_to_website"
32 ];
33
34 pythonNamespaces = [ "paste" ];
35
36 meta = with lib; {
37 description = "Tools for using a Web Server Gateway Interface stack";
38 homepage = "http://pythonpaste.org/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ ];
41 };
42}