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
83 lines
1.8 KiB
Nix
83 lines
1.8 KiB
Nix
{
|
|
appstream-glib,
|
|
blueprint-compiler,
|
|
desktop-file-utils,
|
|
fetchFromGitHub,
|
|
gettext,
|
|
glib-networking,
|
|
gobject-introspection,
|
|
gtk4,
|
|
gtksourceview5,
|
|
lib,
|
|
libadwaita,
|
|
libsoup_3,
|
|
meson,
|
|
ninja,
|
|
nix-update-script,
|
|
pkg-config,
|
|
python3,
|
|
python3Packages,
|
|
stdenv,
|
|
wrapGAppsHook4,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "webfont-bundler";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rafaelmardojai";
|
|
repo = "webfont-kit-generator";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-5TFsUSY6pJc/OwOklw5YocrleL9nzxKMVS1Bt6LPI/Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
gettext
|
|
gobject-introspection
|
|
gtk4 # For gtk4-update-icon-cache
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib-networking
|
|
gtk4
|
|
gtksourceview5
|
|
libadwaita
|
|
libsoup_3
|
|
(python3.withPackages (
|
|
ps: with ps; [
|
|
brotli
|
|
fonttools
|
|
pygobject3
|
|
]
|
|
))
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
python3Packages.pygobject3
|
|
python3Packages.brotli
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Create @font-face kits easily";
|
|
longDescription = "Webfont Bundler is a simple utility that allows you to generate woff, woff2 and the necessary CSS boilerplate from non-web font formats (otf and ttf).";
|
|
changelog = "https://github.com/rafaelmardojai/webfont-kit-generator/releases/tag/${finalAttrs.version}";
|
|
mainProgram = "webfontkitgenerator";
|
|
homepage = "https://apps.gnome.org/WebfontKitGenerator/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ benediktbroich ];
|
|
teams = [ teams.gnome-circle ];
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|