2020-06-03 21:32:08 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27
|
2021-07-20 23:07:53 +02:00
|
|
|
, pytest, pytest-runner, pytestCheckHook }:
|
2020-06-03 21:32:08 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.0.0";
|
|
|
|
pname = "ci-py";
|
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7";
|
|
|
|
};
|
|
|
|
|
2021-07-20 23:07:53 +02:00
|
|
|
nativeBuildInputs = [ pytest-runner ]; # pytest-runner included in setup-requires
|
2020-06-03 21:32:08 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|