From 4fc97254222db99e5a2d98ecdf58d5322b6c8d5f Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Mon, 3 Jan 2022 16:47:10 -0300 Subject: [PATCH] python3Packages.decli: init @ 0.5.2 --- .../python-modules/decli/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/decli/default.nix diff --git a/pkgs/development/python-modules/decli/default.nix b/pkgs/development/python-modules/decli/default.nix new file mode 100644 index 000000000000..1e0fd21320dc --- /dev/null +++ b/pkgs/development/python-modules/decli/default.nix @@ -0,0 +1,23 @@ +{ buildPythonPackage +, lib +, fetchPypi +}: + +buildPythonPackage rec { + pname = "decli"; + version = "0.5.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-8s3lUDSnXIGcYwx2VahExhLyWYxCwhKZFgRl32rUY60="; + }; + + pythonImportsCheck = [ "decli" ]; + + meta = with lib; { + description = "Minimal, easy to use, declarative command line interface tool"; + homepage = "https://github.com/Woile/decli"; + license = licenses.mit; + maintainers = with maintainers; [ lovesegfault ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f82a0e0851c9..aa7d5dd9c044 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2038,6 +2038,8 @@ in { debugpy = callPackage ../development/python-modules/debugpy { }; + decli = callPackage ../development/python-modules/decli { }; + decorator = callPackage ../development/python-modules/decorator { }; decopatch = callPackage ../development/python-modules/decopatch { };