1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7 nix-update-script, 8 hatchling, 9}: 10 11buildPythonPackage rec { 12 pname = "bdffont"; 13 version = "0.0.32"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.10"; 17 18 src = fetchPypi { 19 pname = "bdffont"; 20 inherit version; 21 hash = "sha256-5O1AlidPMhp0ztzBi/eHJToFSKMcx+EuQHltt/w4goQ="; 22 }; 23 24 build-system = [ hatchling ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "bdffont" ]; 29 30 passthru.updateScript = nix-update-script { }; 31 32 meta = { 33 homepage = "https://github.com/TakWolf/bdffont"; 34 description = "Library for manipulating Glyph Bitmap Distribution Format (BDF) Fonts"; 35 platforms = lib.platforms.all; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ 38 TakWolf 39 h7x4 40 ]; 41 }; 42}