43 lines
844 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
pytestCheckHook,
nix-update-script,
hatchling,
}:
buildPythonPackage rec {
pname = "bdffont";
version = "0.0.32";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
pname = "bdffont";
inherit version;
hash = "sha256-5O1AlidPMhp0ztzBi/eHJToFSKMcx+EuQHltt/w4goQ=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bdffont" ];
passthru.updateScript = nix-update-script { };
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
];
};
}