Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / click-aliases / default.nix
blob18a97769b3d840d32e8101b48601beaf6779a52e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , click
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "click-aliases";
11   version = "1.0.3";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "click-contrib";
17     repo = "click-aliases";
18     rev = "v${version}";
19     hash = "sha256-HTjo6ID27W7D4MZjeAJMSy5yVd6oKg0Ed9/kDtQZ7Vw=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   propagatedBuildInputs = [
27     click
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [ "click_aliases" ];
36   meta = with lib; {
37     homepage = "https://github.com/click-contrib/click-aliases";
38     description = "Enable aliases for click";
39     license = licenses.mit;
40     maintainers = with maintainers; [ panicgh ];
41   };