83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
42 lines
846 B
Nix
42 lines
846 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
nix-update-script,
|
|
hatchling,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bdffont";
|
|
version = "0.0.26";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchPypi {
|
|
pname = "bdffont";
|
|
inherit version;
|
|
hash = "sha256-Q8IqwJmAYFicTX7RrVU9UvGZX+oaPb0RKlIFwArktXk=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "bdffont" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/TakWolf/bdffont";
|
|
description = "A library for manipulating Glyph Bitmap Distribution Format (BDF) Fonts";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
TakWolf
|
|
h7x4
|
|
];
|
|
};
|
|
}
|