Files
nixpkgs/pkgs/by-name/ca/catnip-gtk4/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

51 lines
947 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
wrapGAppsHook4,
gobject-introspection,
gtk4,
libadwaita,
}:
buildGoModule {
pname = "catnip-gtk4";
version = "0-unstable-2023-06-17";
src = fetchFromGitHub {
owner = "diamondburned";
repo = "catnip-gtk4";
rev = "e635904af952fcee7e9f4b1a3e45ce8519428d9f";
hash = "sha256-yJNw/pDgvIzcX4H6RoFJBiRwzWQXWF3obUPxYf4ALOY=";
};
vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
nativeBuildInputs = [
gobject-introspection
pkg-config
wrapGAppsHook4
];
buildInputs = [
gtk4
libadwaita
];
ldflags = [
"-s"
"-w"
];
enableParallelBuilding = true;
meta = with lib; {
description = "GTK4 frontend for catnip";
homepage = "https://github.com/diamondburned/catnip-gtk4";
license = licenses.gpl3Only;
maintainers = with maintainers; [ figsoda ];
mainProgram = "catnip-gtk4";
};
}