Unverified Commit 4fe56dbd authored by June Stepp's avatar June Stepp
Browse files

python3Packages.pluralizer: init at 2.0.0

parent 59f8e856
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "pluralizer";
  version = "2.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "weixu365";
    repo = "pluralizer-py";
    tag = "v${version}";
    hash = "sha256-2m7E4cwAdmny/5R5FqaCzk8mu9so/ZCgNPBckTdIc/0=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pluralizer" ];

  meta = {
    description = "Singularize or pluralize a given word using a pre-defined list of rules";
    homepage = "https://github.com/weixu365/pluralizer-py";
    changelog = "https://github.com/weixu365/pluralizer-py/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    teams = [ lib.teams.ngi ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12136,6 +12136,8 @@ self: super: with self; {
  plumbum = callPackage ../development/python-modules/plumbum { };
  pluralizer = callPackage ../development/python-modules/pluralizer { };
  pluthon = callPackage ../development/python-modules/pluthon { };
  plux = callPackage ../development/python-modules/plux { };