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
60 lines
1.1 KiB
Nix
60 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cargo,
|
|
pkg-config,
|
|
rustPlatform,
|
|
rustc,
|
|
wrapGAppsHook3,
|
|
gdk-pixbuf,
|
|
gtk3,
|
|
libsoup_3,
|
|
webkitgtk_4_1,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fontfinder";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmstick";
|
|
repo = "fontfinder";
|
|
rev = version;
|
|
hash = "sha256-C4KqEdqToVnPXFPWvNkl/md9L2W4NxRd5jvZ4E7CtfA=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
|
inherit pname version src;
|
|
hash = "sha256-g6PRGHrkHA0JTekKaQs+8mtyOCj99m0zPbgP8AnP7GU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cargo
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
rustc
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gdk-pixbuf
|
|
gtk3
|
|
libsoup_3
|
|
webkitgtk_4_1
|
|
];
|
|
|
|
makeFlags = [
|
|
"prefix=$(out)"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "GTK application for browsing and installing fonts from Google's font archive";
|
|
homepage = "https://github.com/mmstick/fontfinder";
|
|
changelog = "https://github.com/mmstick/fontfinder/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "fontfinder-gtk";
|
|
};
|
|
}
|