nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 45 lines 889 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 nix-update-script, 7 uv-build, 8 langcodes, 9}: 10 11buildPythonPackage rec { 12 pname = "unidata-blocks"; 13 version = "0.0.24"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "TakWolf"; 18 repo = "unidata-blocks"; 19 tag = version; 20 hash = "sha256-WGo7Sn2lubsOWfLglBAEx/2PQ1YCrF/wI7/pDwoHMRk="; 21 }; 22 23 build-system = [ uv-build ]; 24 25 dependencies = [ 26 langcodes 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "unidata_blocks" ]; 32 33 passthru.updateScript = nix-update-script { }; 34 35 meta = { 36 homepage = "https://github.com/TakWolf/unidata-blocks"; 37 description = "Library that helps query unicode blocks by Blocks.txt"; 38 platforms = lib.platforms.all; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ 41 TakWolf 42 h7x4 43 ]; 44 }; 45}