biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / unicode-rbnf / default.nix
bloba672feebf5ee5a54f0c0a7bc1201feb886984ec6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # tests
10   pytestCheckHook,
13 buildPythonPackage rec {
14   pname = "unicode-rbnf";
15   version = "1.1.0";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "rhasspy";
20     repo = "unicode-rbnf";
21     rev = "v${version}";
22     hash = "sha256-PquPoiaO1rEDMz7jaN9MUB0UQGH07M0O9mlrUCsfhm4=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   pythonImportsCheck = [ "unicode_rbnf" ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   meta = with lib; {
32     changelog = "https://github.com/rhasspy/unicode-rbnf/blob/v${version}/CHANGELOG.md";
33     description = "Pure Python implementation of ICU's rule-based number format engine";
34     homepage = "https://github.com/rhasspy/unicode-rbnf";
35     license = licenses.mit;
36     maintainers = with maintainers; [ hexa ];
37   };