From d25edeb3ee26d8bab17ede29555f23ee92f559da Mon Sep 17 00:00:00 2001 From: Josef Kemetmueller Date: Sun, 3 Sep 2017 09:01:33 +0000 Subject: [PATCH] pythonPackages.click-plugins: init at 1.0.3 --- .../python-modules/click-plugins/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/click-plugins/default.nix 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}";