depot/third_party/nixpkgs/pkgs/development/python-modules/ci-info/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

26 lines
648 B
Nix

{ lib, buildPythonPackage, isPy27, fetchPypi, pytest, pytestCheckHook }:
buildPythonPackage rec {
version = "0.3.0";
pname = "ci-info";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-H9UMvUAfKa3/7rGLBIniMtFqwadFisa8MW3qtq5TX7A=";
};
checkInputs = [ 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 ];
};
}