blob: 1759412e5cb6b2dd7510a36ac702f6b968455440 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "paste";
version = "3.10.1";
pyproject = true;
src = fetchFromGitHub {
owner = "pasteorg";
repo = "paste";
tag = version;
hash = "sha256-NY/h6hbpluEu1XAv3o4mqoG+l0LXfM1dw7+G0Rm1E4o=";
};
postPatch = ''
patchShebangs tests/cgiapp_data/
'';
build-system = [ setuptools ];
dependencies = [
setuptools
six
];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
# needs to be modified after Sat, 1 Jan 2005 12:00:00 GMT
touch tests/urlparser_data/secured.txt
'';
disabledTests = [
# pkg_resources deprecation warning
"test_form"
];
pythonNamespaces = [ "paste" ];
meta = {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = "https://pythonpaste.readthedocs.io/";
changelog = "https://github.com/pasteorg/paste/blob/${version}/docs/news.txt";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|