* decoder: remove gnome circle team from maintainers This was mistakenly placed here instead of in `gnome-decoder` * gnome-decoder: add gnome circle team to maintainers * treewide: add updateScript to gnome circle packages
80 lines
1.6 KiB
Nix
80 lines
1.6 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-kit-generator";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rafaelmardojai";
|
|
repo = "webfont-kit-generator";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-ZfyF1Didce88/HaLeMNTw0nGzj3EZnC7V9OzsN21L40=";
|
|
};
|
|
|
|
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 = "Webfont Kit Generator is a simple utility that allows you to generate woff, woff2 and the necessary CSS boilerplate from non-web font formats (otf & ttf)";
|
|
mainProgram = "webfontkitgenerator";
|
|
homepage = "https://apps.gnome.org/app/com.rafaelmardojai.WebfontKitGenerator";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ benediktbroich ] ++ lib.teams.gnome-circle.members;
|
|
platforms = platforms.unix;
|
|
};
|
|
})
|