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