python3Packages.hatch-argparse-manpage: init at 1.0.1

This commit is contained in:
PhiliPdB
2026-03-23 21:09:38 +01:00
parent 02f8f751fb
commit d0b4c9692d
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# Build system
hatchling,
# Dependencies
argparse-manpage,
rich,
}:
buildPythonPackage (finalAttrs: {
pname = "hatch-argparse-manpage";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "damonlynch";
repo = "hatch-argparse-manpage";
tag = "v${finalAttrs.version}";
hash = "sha256-wkMLbbOkIRO83byUTJRYAS7uTYc2weL/viH1fI8xYh0=";
};
build-system = [
hatchling
];
dependencies = [
argparse-manpage
rich
];
pythonImportsCheck = [
"hatch_argparse_manpage"
];
meta = {
description = "Hatch build hook plugin to automatically generate manual pages";
homepage = "https://github.com/damonlynch/hatch-argparse-manpage";
changelog = "https://github.com/damonlynch/hatch-argparse-manpage/blob/${finalAttrs.src.tag}/CHANGES.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ philipdb ];
};
})
+2
View File
@@ -6912,6 +6912,8 @@ self: super: with self; {
hatch = callPackage ../development/python-modules/hatch/default.nix { };
hatch-argparse-manpage = callPackage ../development/python-modules/hatch-argparse-manpage { };
hatch-autorun = callPackage ../development/python-modules/hatch-autorun { };
hatch-babel = callPackage ../development/python-modules/hatch-babel { };