blob: 5ae93e9731f5674674132c44f5ccbc658bf47447 (
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
57
58
59
60
61
62
63
64
65
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mock,
pbr,
pytest-mock,
pytestCheckHook,
pytz,
requests,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "jenkinsapi";
version = "0.3.15";
pyproject = true;
src = fetchFromGitHub {
owner = "pycontribs";
repo = "jenkinsapi";
tag = version;
hash = "sha256-r6GOi/0ALJDy6R6cd/bECk+HVe/AyKZYG96sr9y9o/4=";
};
nativeBuildInputs = [
flit-core
pbr
];
propagatedBuildInputs = [
pytz
requests
setuptools
six
];
nativeCheckInputs = [
mock
pytest-mock
pytestCheckHook
];
# don't run tests that try to spin up jenkins
disabledTests = [ "systests" ];
pythonImportsCheck = [
"jenkinsapi"
"jenkinsapi.utils"
"jenkinsapi.utils.jenkins_launcher"
];
meta = {
description = "Python API for accessing resources on a Jenkins continuous-integration server";
homepage = "https://github.com/salimfadhley/jenkinsapi";
maintainers = with lib.maintainers; [
de11n
despsyched
drets
];
license = lib.licenses.mit;
};
}
|