Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitLab,
testers,
gitUpdater,
autoreconfHook,
util-macros,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "font-util";
version = "1.4.1";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
group = "xorg";
owner = "font";
repo = "util";
tag = "font-util-${finalAttrs.version}";
hash = "sha256-cv6Whex1s4+J7Ue4IOHdO9WtrarTgSpLEghWpbUl+0o=";
};
nativeBuildInputs = [
autoreconfHook
util-macros
];
passthru = {
updateScript = gitUpdater {
rev-prefix = "font-util-";
ignoredVersions = "1_0_1";
};
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = {
description = "X.Org font package creation/installation utilities";
homepage = "https://gitlab.freedesktop.org/xorg/font/util";
license = with lib.licenses; [
mit
bsd2
bsdSourceCode
mitOpenGroup
# there is a bit of a diff, but i think its close enough
# it was probably just adapted a bit to fit to the repository structure
# or its an older version that the one on spdx
unicodeTOU
];
maintainers = [ ];
pkgConfigModules = [ "fontutil" ];
platforms = lib.platforms.unix;
};
})