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

python3Packages.hatch-gettext: init at 1.1.1

parent d0b4c969
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  # Build system
  hatchling,
  # Dependencies
  rich,
}:

buildPythonPackage (finalAttrs: {
  pname = "hatch-gettext";
  version = "1.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "damonlynch";
    repo = "hatch-gettext";
    tag = "v${finalAttrs.version}";
    hash = "sha256-hdYwDKRzv3iRoKUtPssOL2t4iPPsK+wlSydbMOeFyUs=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    rich
  ];

  pythonImportsCheck = [
    "hatch_gettext"
  ];

  meta = {
    description = "Hatch build hook plugin for GNU gettext";
    homepage = "https://github.com/damonlynch/hatch-gettext";
    changelog = "https://github.com/damonlynch/hatch-gettext/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
@@ -6928,6 +6928,8 @@ self: super: with self; {
  hatch-fancy-pypi-readme = callPackage ../development/python-modules/hatch-fancy-pypi-readme { };
  hatch-gettext = callPackage ../development/python-modules/hatch-gettext { };
  hatch-jupyter-builder = callPackage ../development/python-modules/hatch-jupyter-builder { };
  hatch-min-requirements = callPackage ../development/python-modules/hatch-min-requirements { };