diff options
Diffstat (limited to 'pkgs/development/python-modules/pixel-font-builder/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pixel-font-builder/default.nix | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/pixel-font-builder/default.nix b/pkgs/development/python-modules/pixel-font-builder/default.nix index 0ef77bd5521c9..7033179d7370b 100644 --- a/pkgs/development/python-modules/pixel-font-builder/default.nix +++ b/pkgs/development/python-modules/pixel-font-builder/default.nix @@ -1,32 +1,38 @@ -{ lib -, buildPythonPackage -, fetchPypi -, pytestCheckHook -, pythonOlder -, nix-update-script -, hatch-vcs -, hatchling -, bdffont -, brotli -, fonttools -, pypng +{ + lib, + buildPythonPackage, + fetchPypi, + pytestCheckHook, + pythonOlder, + nix-update-script, + hatch-vcs, + hatchling, + bdffont, + brotli, + fonttools, + pypng, + pcffont, + pythonRelaxDepsHook, }: buildPythonPackage rec { pname = "pixel-font-builder"; - version = "0.0.19"; + version = "0.0.25"; + pyproject = true; disabled = pythonOlder "3.11"; src = fetchPypi { pname = "pixel_font_builder"; inherit version; - hash = "sha256-f38DyM5hojHfv8k/W6kcHxbOjz43hHW6i4Scm6NbHiQ="; + hash = "sha256-66mGZ7q64z+tTJSSveD7UCkTq7YXgsHTM25MqUSLfvM="; }; - format = "pyproject"; + pythonRelaxDeps = [ "fonttools" ]; - nativeBuildInputs = [ + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + build-system = [ hatch-vcs hatchling ]; @@ -36,17 +42,18 @@ buildPythonPackage rec { pypng ]; - propagatedBuildInputs = [ + dependencies = [ bdffont brotli fonttools + pcffont ]; passthru.updateScript = nix-update-script { }; meta = { homepage = "https://github.com/TakWolf/pixel-font-builder"; - description = "A library that helps create pixel style fonts"; + description = "Library that helps create pixel style fonts"; platforms = lib.platforms.all; license = lib.licenses.mit; maintainers = with lib.maintainers; [ h7x4 ]; |