Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / unicode-rbnf / default.nix
blob6dd4e813312eb3d404eb2b594b6d711fadf76673
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , setuptools
8 # tests
9 , pytestCheckHook
12 buildPythonPackage rec {
13   pname = "unicode-rbnf";
14   version = "1.1.0";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "rhasspy";
19     repo = "unicode-rbnf";
20     rev = "v${version}";
21     hash = "sha256-PquPoiaO1rEDMz7jaN9MUB0UQGH07M0O9mlrUCsfhm4=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   pythonImportsCheck = [
29     "unicode_rbnf"
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   meta = with lib; {
37     changelog = "https://github.com/rhasspy/unicode-rbnf/blob/v${version}/CHANGELOG.md";
38     description = "A pure Python implementation of ICU's rule-based number format engine";
39     homepage = "https://github.com/rhasspy/unicode-rbnf";
40     license = licenses.mit;
41     maintainers = with maintainers; [ hexa ];
42   };