83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
45 lines
880 B
Nix
45 lines
880 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
nix-update-script,
|
|
hatchling,
|
|
bdffont,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pcffont";
|
|
version = "0.0.14";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchPypi {
|
|
pname = "pcffont";
|
|
inherit version;
|
|
hash = "sha256-S3mK4tY7zNGRX8K81QJVvaYpIaTDLx5zn4vKbhrK9VM=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [ bdffont ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pcffont" ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/TakWolf/pcffont";
|
|
description = "A library for manipulating Portable Compiled Format (PCF) Fonts";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
TakWolf
|
|
h7x4
|
|
];
|
|
};
|
|
}
|