depot/third_party/nixpkgs/pkgs/development/python-modules/ci-info/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
699 B
Nix

{
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 ];
};
}