python312Packages.text2digits: init at 0.1.0

This commit is contained in:
seth
2025-03-15 12:23:34 -04:00
committed by Seth Flynn
parent c3e2dace1a
commit 3601d5e8a6
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,32 @@
{
lib,
buildPythonPackage,
fetchPypi,
pypaInstallHook,
setuptoolsBuildHook,
}:
buildPythonPackage rec {
pname = "text2digits";
version = "0.1.0";
pyproject = false;
src = fetchPypi {
inherit pname version;
hash = "sha256-oB2NyNVxediIulid9A4Ccw878t2JKrIsN1OOR5lyi7I=";
};
nativeBuildInputs = [
pypaInstallHook
setuptoolsBuildHook
];
pythonImportsCheck = [ "text2digits" ];
meta = {
description = "Converts text such as 'twenty three' to number/digit '23' in any sentence";
homepage = "https://github.com/ShailChoksi/text2digits";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
};
}
+2
View File
@@ -16478,6 +16478,8 @@ self: super: with self; {
texsoup = callPackage ../development/python-modules/texsoup { };
text2digits = callPackage ../development/python-modules/text2digits { };
textblob = callPackage ../development/python-modules/textblob { };
textfsm = callPackage ../development/python-modules/textfsm { };