1{ lib, buildPythonPackage, isPy27, fetchPypi, pytest, pytestCheckHook }:
2
3buildPythonPackage rec {
4 version = "0.2.0";
5 pname = "ci-info";
6
7 disabled = isPy27;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "05j6pamk8sd51qmvpkl3f7sxajmncrqm0cz6n6bqgsvzjwn66w6x";
12 };
13
14 checkInputs = [ pytest pytestCheckHook ];
15
16 doCheck = false; # both tests access network
17
18 pythonImportsCheck = [ "ci_info" ];
19
20 meta = with lib; {
21 description = "Gather continuous integration information on the fly";
22 homepage = "https://github.com/mgxd/ci-info";
23 license = licenses.mit;
24 maintainers = with maintainers; [ bcdarwin ];
25 };
26}