2020-08-20 17:08:02 +00:00
|
|
|
{ lib, buildPythonPackage, isPy27, fetchPypi, pytest, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.3.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
pname = "ci-info";
|
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-H9UMvUAfKa3/7rGLBIniMtFqwadFisa8MW3qtq5TX7A=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest pytestCheckHook ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|