1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

python3Packages.ci-info: init at 0.2.0

This commit is contained in:
Ben Darwin 2020-06-03 15:30:43 -04:00
parent 017c7a4940
commit 87479d7d2a
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, isPy27, fetchPypi, pytest, pytestCheckHook }:
buildPythonPackage rec {
version = "0.2.0";
pname = "ci-info";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "05j6pamk8sd51qmvpkl3f7sxajmncrqm0cz6n6bqgsvzjwn66w6x";
};
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 ];
};
}

View file

@ -2072,6 +2072,8 @@ in {
chevron = callPackage ../development/python-modules/chevron {};
ci-info = callPackage ../development/python-modules/ci-info { };
cli-helpers = callPackage ../development/python-modules/cli-helpers {};
cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };