blob: 4c603940a144061779b05e075323c44eb067f2c5 (
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
|
{
lib,
buildPythonPackage,
isPy27,
fetchPypi,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.3.0";
format = "setuptools";
pname = "ci-info";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-H9UMvUAfKa3/7rGLBIniMtFqwadFisa8MW3qtq5TX7A=";
};
nativeCheckInputs = [
pytest
pytestCheckHook
];
doCheck = false; # both tests access network
pythonImportsCheck = [ "ci_info" ];
meta = with lib; {
description = "Gather continuous integration information on the fly";
homepage = "https://github.com/mgxd/ci-info";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}
|