diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2020-06-03 15:30:43 -0400 |
---|---|---|
committer | Ben Darwin <bcdarwin@gmail.com> | 2020-07-22 20:29:00 -0400 |
commit | 87479d7d2a6ccdd8e74780794f7c7b7213643505 (patch) | |
tree | ba9087862a0025b5f7d9ee5680a6f20fa9f7613e | |
parent | 017c7a4940a3c62002d725ae848b16793922eac9 (diff) |
python3Packages.ci-info: init at 0.2.0
-rw-r--r-- | pkgs/development/python-modules/ci-info/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ci-info/default.nix b/pkgs/development/python-modules/ci-info/default.nix new file mode 100644 index 000000000000..d27f7cf0a82a --- /dev/null +++ b/pkgs/development/python-modules/ci-info/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1f43cc00d037..3511da729a7c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |