diff --git a/pkgs/development/python-modules/ci-py/default.nix b/pkgs/development/python-modules/ci-py/default.nix new file mode 100644 index 00000000000..30220b48b72 --- /dev/null +++ b/pkgs/development/python-modules/ci-py/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, isPy27 +, pytest, pytestrunner, pytestCheckHook }: + +buildPythonPackage rec { + version = "1.0.0"; + pname = "ci-py"; + + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7"; + }; + + nativeBuildInputs = [ pytestrunner ]; # pytest-runner included in setup-requires + checkInputs = [ pytest pytestCheckHook ]; + + pythonImportsCheck = [ "ci" ]; + + meta = with lib; { + description = "Library for working with Continuous Integration services"; + homepage = "https://github.com/grantmcconnaughey/ci.py"; + license = licenses.mit; + maintainers = with maintainers; [ bcdarwin ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3511da729a7..efb0b0c81da 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2074,6 +2074,8 @@ in { ci-info = callPackage ../development/python-modules/ci-info { }; + ci-py = callPackage ../development/python-modules/ci-py { }; + cli-helpers = callPackage ../development/python-modules/cli-helpers {}; cmarkgfm = callPackage ../development/python-modules/cmarkgfm { };