ttaenc: init at 3.4.1 (#238757)
[NixPkgs.git] / pkgs / development / python-modules / ci-py / default.nix
blob9abd0d04b29b6b162bb3e0fbef3be02a94429950
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "ci-py";
11   version = "1.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-R/6bLsXOKGxiJDZUvvOuvLp3usEhfg698qvvgOwBXYk=";
19   };
21   postPatch = ''
22     substituteInPlace setup.py \
23       --replace "'pytest-runner', " ""
24   '';
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "ci" ];
30   meta = with lib; {
31     description = "Library for working with Continuous Integration services";
32     homepage = "https://github.com/grantmcconnaughey/ci.py";
33     changelog = "https://github.com/grantmcconnaughey/ci.py/blob/master/CHANGELOG.md";
34     license = licenses.mit;
35     maintainers = with maintainers; [ bcdarwin ];
36   };