Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 38 lines 857 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # tests 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "unicode-rbnf"; 15 version = "1.2.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "rhasspy"; 20 repo = "unicode-rbnf"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-dAoDO707qmdDzCbi7EWNaM9txdBV46NlLkOs7xyycz0="; 23 }; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 pythonImportsCheck = [ "unicode_rbnf" ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 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 }; 38}