diff options
Diffstat (limited to 'pkgs/development/python-modules/pcffont/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pcffont/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pcffont/default.nix b/pkgs/development/python-modules/pcffont/default.nix new file mode 100644 index 0000000000000..30c0c05cae0ef --- /dev/null +++ b/pkgs/development/python-modules/pcffont/default.nix @@ -0,0 +1,39 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + bdffont, + pytestCheckHook, + nix-update-script, +}: + +buildPythonPackage rec { + pname = "pcffont"; + version = "0.0.14"; + pyproject = true; + + src = fetchFromGitHub { + owner = "TakWolf"; + repo = "pcffont"; + rev = "refs/tags/${version}"; + hash = "sha256-UIRhUlsRd3ICdLAjUasQ1NX5NofSKCEqa8cf1c1voGM="; + }; + + build-system = [ hatchling ]; + + dependencies = [ bdffont ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "pcffont" ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Library for manipulating Portable Compiled Format (PCF) fonts"; + homepage = "https://github.com/TakWolf/pcffont"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} |