python3Packages.hatch-argparse-manpage: init at 1.0.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user