1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 13:29:13 +03:00
nixpkgs/pkgs/development/python-modules/paste/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
810 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2021-10-07 20:44:48 +02:00
, fetchFromGitHub
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "paste";
2020-12-30 13:16:57 +01:00
version = "3.5.0";
2021-10-07 20:44:48 +02:00
src = fetchFromGitHub {
owner = "cdent";
repo = "paste";
rev = version;
sha256 = "sha256-yaOxbfQ8rdViepxhdF0UzlelC/ozdsP1lOdU5w4OPEQ=";
};
2021-10-07 20:44:48 +02:00
postPatch = ''
patchShebangs tests/cgiapp_data/
'';
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" ];
meta = with lib; {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = "http://pythonpaste.org/";
license = licenses.mit;
2021-10-07 20:44:48 +02:00
maintainers = with maintainers; [ ];
};
}