at master 878 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 pytestCheckHook, 7 nix-update-script, 8 hatchling, 9 bdffont, 10}: 11 12buildPythonPackage rec { 13 pname = "pcffont"; 14 version = "0.0.21"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchPypi { 20 pname = "pcffont"; 21 inherit version; 22 hash = "sha256-RWmR6shNFuJytOfRAVTiNdIJMRpkBchBj8zOy4ybE9o="; 23 }; 24 25 build-system = [ hatchling ]; 26 27 dependencies = [ bdffont ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "pcffont" ]; 32 33 passthru.updateScript = nix-update-script { }; 34 35 meta = { 36 homepage = "https://github.com/TakWolf/pcffont"; 37 description = "Library for manipulating Portable Compiled Format (PCF) Fonts"; 38 platforms = lib.platforms.all; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ 41 TakWolf 42 h7x4 43 ]; 44 }; 45}