1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 click,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "click-aliases";
12 version = "1.0.5";
13
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "click-contrib";
18 repo = "click-aliases";
19 rev = "v${version}";
20 hash = "sha256-vR5MUbgQfgownnq/VuEB/Jreibh/SB8wbDWGOmareRU=";
21 };
22
23 nativeBuildInputs = [ poetry-core ];
24
25 propagatedBuildInputs = [ click ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 pythonImportsCheck = [ "click_aliases" ];
30
31 meta = with lib; {
32 homepage = "https://github.com/click-contrib/click-aliases";
33 description = "Enable aliases for click";
34 license = licenses.mit;
35 maintainers = with maintainers; [ panicgh ];
36 };
37}