f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
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.15";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchPypi {
|
|
pname = "pcffont";
|
|
inherit version;
|
|
hash = "sha256-sJWopdjZ0vM0BrdBgc6XZsDGFN7/NCCBqrCyYCRhT3M=";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|