nixpkgs/pkgs/development/python-modules/bdffont/default.nix
2026-06-21 01:59:51 +00:00

37 lines
775 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
uv-build,
}:
buildPythonPackage (finalAttrs: {
pname = "bdffont";
version = "0.0.40";
pyproject = true;
src = fetchFromGitHub {
owner = "TakWolf";
repo = "bdffont";
tag = finalAttrs.version;
hash = "sha256-gIdnkHA0TWOOgQv3BNl9lf0KKkdLSa9PeQJhf99fsGo=";
};
build-system = [ uv-build ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bdffont" ];
meta = {
homepage = "https://github.com/TakWolf/bdffont";
description = "Library for manipulating Glyph Bitmap Distribution Format (BDF) Fonts";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
TakWolf
h7x4
];
};
})