Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ci-py / default.nix
blobb7e6c5ff8060e7d3ff6686bb37db0c3efdd3d531
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "ci-py";
10   version = "1.0.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-R/6bLsXOKGxiJDZUvvOuvLp3usEhfg698qvvgOwBXYk=";
18   };
20   postPatch = ''
21     substituteInPlace setup.py \
22       --replace "'pytest-runner', " ""
23   '';
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "ci"
31   ];
33   meta = with lib; {
34     description = "Library for working with Continuous Integration services";
35     homepage = "https://github.com/grantmcconnaughey/ci.py";
36     changelog = "https://github.com/grantmcconnaughey/ci.py/blob/master/CHANGELOG.md";
37     license = licenses.mit;
38     maintainers = with maintainers; [ bcdarwin ];
39   };