Unverified Commit d0b4c969 authored by PhiliPdB's avatar PhiliPdB
Browse files

python3Packages.hatch-argparse-manpage: init at 1.0.1

parent 02f8f751
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };