1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "ci-py"; 11 version = "1.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-R/6bLsXOKGxiJDZUvvOuvLp3usEhfg698qvvgOwBXYk="; 19 }; 20 21 postPatch = '' 22 substituteInPlace setup.py \ 23 --replace "'pytest-runner', " "" 24 ''; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "ci" ]; 29 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 }; 37}