about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/paste/default.nix
blob: c3a082c6c230363ff3d2af6c59405de9911c8c6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "paste";
  version = "3.5.0";

  src = fetchFromGitHub {
    owner = "cdent";
    repo = "paste";
    rev = version;
    sha256 = "sha256-yaOxbfQ8rdViepxhdF0UzlelC/ozdsP1lOdU5w4OPEQ=";
  };

  postPatch = ''
    patchShebangs tests/cgiapp_data/
  '';

  # propagatedBuildInputs = [ six ];

  checkInputs = [ pytestCheckHook ];

  disabledTests = [
    # broken test
    "test_file_cache"
    # requires network connection
    "test_proxy_to_website"
  ];

  pythonNamespaces = [ "paste" ];

  meta = with lib; {
    description = "Tools for using a Web Server Gateway Interface stack";
    homepage = "http://pythonpaste.org/";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}