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