34 lines
695 B
Nix
34 lines
695 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bnnumerizer";
|
|
version = "0.0.2";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-Qd9v0Le1GqTsR3a2ZDzt6+5f0R4zXX1W1KIMCFFeXw0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "bnnumerizer" ];
|
|
|
|
# https://github.com/mnansary/bnUnicodeNormalizer/issues/10
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Bangla Number text to String Converter";
|
|
homepage = "https://github.com/banglakit/number-to-bengali-word";
|
|
license = lib.licenses.mit;
|
|
teams = [ lib.teams.tts ];
|
|
};
|
|
})
|