2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, wrapGAppsHook4
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "catnip-gtk4";
|
|
|
|
version = "unstable-2023-06-17";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "diamondburned";
|
|
|
|
repo = "catnip-gtk4";
|
|
|
|
rev = "e635904af952fcee7e9f4b1a3e45ce8519428d9f";
|
|
|
|
hash = "sha256-yJNw/pDgvIzcX4H6RoFJBiRwzWQXWF3obUPxYf4ALOY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2024-06-24 18:47:55 +00:00
|
|
|
gobject-introspection
|
2023-07-15 17:15:38 +00:00
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "GTK4 frontend for catnip";
|
|
|
|
homepage = "https://github.com/diamondburned/catnip-gtk4";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "catnip-gtk4";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|