python3Packages.pluralizer: init at 2.0.0

This commit is contained in:
June Stepp
2025-11-17 18:16:48 -06:00
parent 59f8e8560a
commit 4fe56dbdfc
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,34 @@
{
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
View File
@@ -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 { };