1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7 nix-update-script, 8 hatchling, 9 pypng, 10 unidata-blocks, 11 pyyaml, 12}: 13 14buildPythonPackage rec { 15 pname = "pixel-font-knife"; 16 version = "0.0.16"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.12"; 20 21 src = fetchPypi { 22 pname = "pixel_font_knife"; 23 inherit version; 24 hash = "sha256-zF2NKR8/8EhtzxwJFKfP6EZf58QXmbut81kfpLqDDV8="; 25 }; 26 27 build-system = [ hatchling ]; 28 29 dependencies = [ 30 pypng 31 unidata-blocks 32 pyyaml 33 ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 pythonImportsCheck = [ "pixel_font_knife" ]; 38 39 meta = { 40 homepage = "https://github.com/TakWolf/pixel-font-knife"; 41 description = "Set of pixel font utilities"; 42 platforms = lib.platforms.all; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ 45 TakWolf 46 h7x4 47 ]; 48 }; 49}