blob: a13706dacb54989e751dc5f901ae0f00dbc9a4b3 (
plain) (
blame)
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
, pythonAtLeast
, pythonOlder
, setuptools
, six
}:
buildPythonPackage rec {
pname = "paste";
version = "3.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "cdent";
repo = "paste";
rev = "refs/tags/${version}";
hash = "sha256-HdeShtslnvjmuiUb0W3ASnSWcZnyDJcthsIOjYmuD8I=";
};
postPatch = ''
patchShebangs tests/cgiapp_data/
'';
propagatedBuildInputs = [
setuptools
six
];
nativeCheckInputs = [
pytestCheckHook
];
preCheck = ''
# needs to be modified after Sat, 1 Jan 2005 12:00:00 GMT
touch tests/urlparser_data/secured.txt
'';
pythonNamespaces = [
"paste"
];
meta = with lib; {
description = "Tools for using a Web Server Gateway Interface stack";
homepage = "https://pythonpaste.readthedocs.io/";
changelog = "https://github.com/cdent/paste/blob/${version}/docs/news.txt";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|