blob: 749d3574d701c97f9ff102502ad44e117a0f80a4 (
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
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pastedeploy";
version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Pylons";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-8MNeOcYPEYAfghZN/K/1v/tAAdgz/fCvuVnBoru+81Q=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace " --cov" ""
'';
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"paste.deploy"
];
meta = with lib; {
description = "Load, configure, and compose WSGI applications and servers";
homepage = "https://github.com/Pylons/pastedeploy";
changelog = "https://github.com/Pylons/pastedeploy/blob/${version}/docs/news.rst";
license = licenses.mit;
maintainers = teams.openstack.members;
};
}
|