From 812887a713adb712a17ecca78416ffd6b5bc8fff Mon Sep 17 00:00:00 2001 From: t4ccer Date: Sun, 24 Sep 2023 02:27:15 -0600 Subject: [PATCH] python3Packages.mando: init at 0.7.1 --- .../python-modules/mando/default.nix | 46 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/development/python-modules/mando/default.nix diff --git a/pkgs/development/python-modules/mando/default.nix b/pkgs/development/python-modules/mando/default.nix new file mode 100644 index 000000000000..dc48dd18ebe1 --- /dev/null +++ b/pkgs/development/python-modules/mando/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +# Python deps +, six +, setuptools +}: + +buildPythonPackage rec { + pname = "mando"; + version = "0.7.1"; + + pyproject = true; + + src = fetchFromGitHub { + owner = "rubik"; + repo = "mando"; + rev = "v${version}"; + hash = "sha256-Ylrrfo57jqGuWEqCa5RyTT9AagBpUvAfviHkyJPFv08="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + propagatedBuildInputs = [ + six + ]; + + pythonImportsCheck = [ + "mando" + ]; + + meta = with lib; { + description = "Create Python CLI apps with little to no effort at all"; + homepage = "https://mando.readthedocs.org"; + changelog = "https://github.com/rubik/mando/blob/v${version}/CHANGELOG"; + license = licenses.mit; + maintainers = with maintainers; [ t4ccer ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 15a797492dbe..7d7c11a96e76 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6477,6 +6477,8 @@ self: super: with self; { managesieve = callPackage ../development/python-modules/managesieve { }; + mando = callPackage ../development/python-modules/mando { }; + mandown = callPackage ../development/python-modules/mandown { }; manhole = callPackage ../development/python-modules/manhole { };