From 128319666bf57c6d4b8d17f373bd2886f075ad7a Mon Sep 17 00:00:00 2001 From: "JS (normalc/ea)" Date: Tue, 20 May 2025 20:19:11 -0400 Subject: [PATCH] embellish: init at 0.4.7 Adds Embellish, a libadwaita application that assists with downloading and managing nerd fonts locally. --- pkgs/by-name/em/embellish/package.nix | 70 +++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 pkgs/by-name/em/embellish/package.nix diff --git a/pkgs/by-name/em/embellish/package.nix b/pkgs/by-name/em/embellish/package.nix new file mode 100644 index 000000000000..7e3ef1eea662 --- /dev/null +++ b/pkgs/by-name/em/embellish/package.nix @@ -0,0 +1,70 @@ +{ + lib, + stdenv, + fetchFromGitHub, + meson, + ninja, + pkg-config, + glib, + gobject-introspection, + gtk4, + desktop-file-utils, + gettext, + wrapGAppsHook4, + libadwaita, + gjs, + gnome-autoar, + libsoup_3, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "embellish"; + version = "0.4.7"; + + src = fetchFromGitHub { + owner = "getnf"; + repo = "embellish"; + tag = "v${finalAttrs.version}"; + hash = "sha256-+tTuQNok2rqTcQR4CRMc4qRqw0Ah2rovIut618z9GhU="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + glib + gobject-introspection + gtk4 + gettext + desktop-file-utils + wrapGAppsHook4 + ]; + + buildInputs = [ + gtk4 + libadwaita + gjs + gnome-autoar + libsoup_3 + ]; + + meta = { + description = "User-friendly application designed for managing Nerd Fonts on your system"; + longDescription = '' + Embellish provides a seamless experience for installing, uninstalling + and updating of Nerd Fonts. It's able to: + - List all available Nerd Fonts + - Download and install a Font + - Uninstall an installed Font + - Update an installed font + - Preview fonts + - Search fonts + - Read font's licence(s) + ''; + homepage = "https://github.com/getnf/embellish"; + changelog = "https://github.com/getnf/embellish/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ normalcea ]; + mainProgram = "io.github.getnf.embellish"; + platforms = lib.platforms.linux; + }; +})