889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
41 lines
772 B
Nix
41 lines
772 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "webob";
|
|
version = "1.8.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "WebOb";
|
|
inherit version;
|
|
hash = "sha256-tk71FBvlWc+t5EjwRPpFwiYDUe3Lao72t+AMfc7wwyM=";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"webob"
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# AttributeError: 'Thread' object has no attribute 'isAlive'
|
|
"tests/test_in_wsgiref.py"
|
|
"tests/test_client_functional.py"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "WSGI request and response object";
|
|
homepage = "https://webob.org/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|