1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 click, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "click-didyoumean"; 12 version = "0.3.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "click-contrib"; 17 repo = "click-didyoumean"; 18 tag = "v${version}"; 19 hash = "sha256-C8OrJUfBFiDM/Jnf1iJo8pGEd0tUhar1vu4fVIfGzq8="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 dependencies = [ click ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 meta = with lib; { 29 description = "Enable git-like did-you-mean feature in click"; 30 homepage = "https://github.com/click-contrib/click-didyoumean"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ mbode ]; 33 }; 34}