blob: 34425a936f343ad0d4dfbd1e5dc9cea10aa0e5c6 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
legacy-cgi,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
# for passthru.tests
pyramid,
routes,
tokenlib,
}:
buildPythonPackage rec {
pname = "webob";
version = "1.8.9";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Pylons";
repo = "webob";
tag = version;
hash = "sha256-axJQwlybuqBS6RgI2z9pbw58vHF9aC9AxCg13CIKCLs=";
};
build-system = [ setuptools ];
# https://github.com/Pylons/webob/issues/437
dependencies = lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "webob" ];
disabledTestPaths = [
# AttributeError: 'Thread' object has no attribute 'isAlive'
"tests/test_in_wsgiref.py"
"tests/test_client_functional.py"
];
passthru.tests = {
inherit pyramid routes tokenlib;
};
meta = with lib; {
description = "WSGI request and response object";
homepage = "https://webob.org/";
license = licenses.mit;
maintainers = [ ];
};
}
|