depot/third_party/nixpkgs/pkgs/development/python-modules/pcffont/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

39 lines
812 B
Nix

{
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; [ ];
};
}