toxic: 0.15.1 -> 0.16.0
[NixPkgs.git] / pkgs / by-name / ca / catnip-gtk4 / package.nix
blobfa7334bdd6b43c4af64917e08a3daada3adf6215
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5   pkg-config,
6   wrapGAppsHook4,
7   gobject-introspection,
8   gtk4,
9   libadwaita,
12 buildGoModule {
13   pname = "catnip-gtk4";
14   version = "unstable-2023-06-17";
16   src = fetchFromGitHub {
17     owner = "diamondburned";
18     repo = "catnip-gtk4";
19     rev = "e635904af952fcee7e9f4b1a3e45ce8519428d9f";
20     hash = "sha256-yJNw/pDgvIzcX4H6RoFJBiRwzWQXWF3obUPxYf4ALOY=";
21   };
23   vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
25   nativeBuildInputs = [
26     gobject-introspection
27     pkg-config
28     wrapGAppsHook4
29   ];
31   buildInputs = [
32     gtk4
33     libadwaita
34   ];
36   ldflags = [
37     "-s"
38     "-w"
39   ];
41   enableParallelBuilding = true;
43   meta = with lib; {
44     description = "GTK4 frontend for catnip";
45     homepage = "https://github.com/diamondburned/catnip-gtk4";
46     license = licenses.gpl3Only;
47     maintainers = with maintainers; [ figsoda ];
48     mainProgram = "catnip-gtk4";
49   };