evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ca / catnip-gtk4 / package.nix
blob5d0f9182ce243a82f100704882b7e1e169c51bb5
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , pkg-config
5 , wrapGAppsHook4
6 , gobject-introspection
7 , gtk4
8 , libadwaita
9 }:
11 buildGoModule {
12   pname = "catnip-gtk4";
13   version = "unstable-2023-06-17";
15   src = fetchFromGitHub {
16     owner = "diamondburned";
17     repo = "catnip-gtk4";
18     rev = "e635904af952fcee7e9f4b1a3e45ce8519428d9f";
19     hash = "sha256-yJNw/pDgvIzcX4H6RoFJBiRwzWQXWF3obUPxYf4ALOY=";
20   };
22   vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
24   nativeBuildInputs = [
25     gobject-introspection
26     pkg-config
27     wrapGAppsHook4
28   ];
30   buildInputs = [
31     gtk4
32     libadwaita
33   ];
35   ldflags = [ "-s" "-w" ];
37   enableParallelBuilding = true;
39   meta = with lib; {
40     description = "GTK4 frontend for catnip";
41     homepage = "https://github.com/diamondburned/catnip-gtk4";
42     license = licenses.gpl3Only;
43     maintainers = with maintainers; [ figsoda ];
44     mainProgram = "catnip-gtk4";
45   };