python311Packages.unicode-rbnf: init at 1.0.0
A pure Python implementation of ICU's rule-based number format engine.
This commit is contained in:
parent
6e0059f678
commit
790473b772
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/unicode-rbnf/default.nix
Normal file
43
pkgs/development/python-modules/unicode-rbnf/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unicode-rbnf";
|
||||
version = "1.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rhasspy";
|
||||
repo = "unicode-rbnf";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-xwnfqWwQJKCJ4G+8eVaySTJAHxhwKYAqLHaCsxtBIl0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"unicode_rbnf"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/rhasspy/unicode-rbnf/v${version}/master/CHANGELOG.md";
|
||||
description = "A pure Python implementation of ICU's rule-based number format engine";
|
||||
homepage = "https://github.com/rhasspy/unicode-rbnf";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
|
@ -15451,6 +15451,8 @@ self: super: with self; {
|
|||
|
||||
unicodedata2 = callPackage ../development/python-modules/unicodedata2 { };
|
||||
|
||||
unicode-rbnf = callPackage ../development/python-modules/unicode-rbnf { };
|
||||
|
||||
unicode-slugify = callPackage ../development/python-modules/unicode-slugify { };
|
||||
|
||||
unicorn = callPackage ../development/python-modules/unicorn {
|
||||
|
|
Loading…
Reference in a new issue