Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{
|
|
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;
|
|
};
|
|
})
|