depot/third_party/nixpkgs/pkgs/development/python-modules/paste/default.nix
Default email 93df2b837e Project import generated by Copybara.
GitOrigin-RevId: 18d4025a8ee2f656d897505ccd0ba61a5b89bbea
2021-10-08 17:17:17 +02:00

42 lines
812 B
Nix

{ 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; [ ];
};
}