python3Packages.mando: init at 0.7.1

This commit is contained in:
t4ccer 2023-09-24 02:27:15 -06:00
parent 33b800cbf2
commit 812887a713
No known key found for this signature in database
GPG key ID: 19E5A2D8B1E43F19
2 changed files with 48 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -6477,6 +6477,8 @@ self: super: with self; {
managesieve = callPackage ../development/python-modules/managesieve { }; managesieve = callPackage ../development/python-modules/managesieve { };
mando = callPackage ../development/python-modules/mando { };
mandown = callPackage ../development/python-modules/mandown { }; mandown = callPackage ../development/python-modules/mandown { };
manhole = callPackage ../development/python-modules/manhole { }; manhole = callPackage ../development/python-modules/manhole { };