Files
nixpkgs/pkgs/by-name/fo/font-util/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

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;
};
})