depot/third_party/nixpkgs/pkgs/development/python-modules/pcffont/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
812 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
bdffont,
pytestCheckHook,
nix-update-script,
}:
buildPythonPackage rec {
pname = "pcffont";
version = "0.0.13";
pyproject = true;
src = fetchFromGitHub {
owner = "TakWolf";
repo = "pcffont";
rev = "refs/tags/${version}";
hash = "sha256-DbPcE2Bx+V90s7P3Gq+Uz3iQNidwbNlp7zln8ykL7Sg=";
};
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; [ ];
};
}