33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
42 lines
816 B
Nix
42 lines
816 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, six
|
|
}:
|
|
|
|
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 ];
|
|
|
|
nativeCheckInputs = [ 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; [ ];
|
|
};
|
|
}
|