depot/third_party/nixpkgs/pkgs/development/python-modules/ci-py/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

26 lines
707 B
Nix

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