1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytest 6, click 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-click"; 12 version = "1.0.2"; 13 disabled = pythonOlder "3.5"; 14 15 src = fetchFromGitHub { 16 owner = "Stranger6667"; 17 repo = "pytest-click"; 18 rev = "v${version}"; 19 sha256 = "197nvlqlyfrqpy5lrkmfh1ywpr6j9zipxl9d7syg2a2n7jz3a8rj"; 20 }; 21 22 buildInputs = [ pytest ]; 23 24 propagatedBuildInputs = [ 25 click 26 ]; 27 28 checkInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "pytest plugin for click"; 32 homepage = "https://github.com/Stranger6667/pytest-click"; 33 changelog = "https://github.com/Stranger6667/pytest-click/releases/tag/v${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ costrouc ]; 36 }; 37}