diff --git a/pkgs/development/python-modules/click-plugins/default.nix b/pkgs/development/python-modules/click-plugins/default.nix new file mode 100644 index 000000000000..3ae8537c6c09 --- /dev/null +++ b/pkgs/development/python-modules/click-plugins/default.nix @@ -0,0 +1,29 @@ +{ stdenv, buildPythonPackage, fetchPypi, + click, pytest +}: + +buildPythonPackage rec { + pname = "click-plugins"; + version = "1.0.3"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "1ifphgaw5mmcdnqd0qfnmrbm62q3k6p573aff4cxgpyjxmz5xk3s"; + }; + + propagatedBuildInputs = [ + click + ]; + + checkInputs = [ + pytest + ]; + + meta = with stdenv.lib; { + description = "An extension module for click to enable registering CLI commands"; + homepage = https://github.com/click-contrib/click-plugins; + license = licenses.bsd3; + maintainers = with maintainers; [ knedlsepp ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d37c7bef7e1b..f9599beddc25 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3042,6 +3042,8 @@ in { }; }; + click-plugins = callPackage ../development/python-modules/click-plugins {}; + click-threading = buildPythonPackage rec { version = "0.4.2"; name = "click-threading-${version}";