1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "webob";
11 version = "1.8.7";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 pname = "WebOb";
18 inherit version;
19 hash = "sha256-tk71FBvlWc+t5EjwRPpFwiYDUe3Lao72t+AMfc7wwyM=";
20 };
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 pythonImportsCheck = [ "webob" ];
25
26 disabledTestPaths = [
27 # AttributeError: 'Thread' object has no attribute 'isAlive'
28 "tests/test_in_wsgiref.py"
29 "tests/test_client_functional.py"
30 ];
31
32 meta = with lib; {
33 description = "WSGI request and response object";
34 homepage = "https://webob.org/";
35 license = licenses.mit;
36 maintainers = with maintainers; [ ];
37 };
38}