mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
43 lines
869 B
Nix
43 lines
869 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
nix-update-script,
|
|
uv-build,
|
|
langcodes,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "unidata-blocks";
|
|
version = "0.0.25";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TakWolf";
|
|
repo = "unidata-blocks";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-BWcKqTMYdJ59XncPL29wCms2kCVTrcrV1zSY8mkbErs=";
|
|
};
|
|
|
|
build-system = [ uv-build ];
|
|
|
|
dependencies = [ langcodes ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "unidata_blocks" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Library that helps query unicode blocks by Blocks.txt";
|
|
homepage = "https://github.com/TakWolf/unidata-blocks";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
TakWolf
|
|
h7x4
|
|
];
|
|
};
|
|
})
|