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