biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / misc / nwg-dock / default.nix
blobf32873e21a06af191c260f1510da3815d01bd234
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , pkg-config
5 , gtk3
6 , gtk-layer-shell
7 }:
9 buildGoModule rec {
10   pname = "nwg-dock";
11   version = "0.3.9";
13   src = fetchFromGitHub {
14     owner = "nwg-piotr";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "sha256-/iUtVym+fNnbBeLlrYIiO5tV9eeAVBh6Nw+d3GCJ/F8=";
18   };
20   vendorHash = "sha256-GW+shKOCwU8yprEfBeAPx1RDgjA7cZZzXDG112bdZ6k=";
22   ldflags = [ "-s" "-w" ];
24   nativeBuildInputs = [ pkg-config ];
25   buildInputs = [ gtk3 gtk-layer-shell ];
27   meta = with lib; {
28     description = "GTK3-based dock for sway";
29     homepage = "https://github.com/nwg-piotr/nwg-dock";
30     license = licenses.mit;
31     platforms = platforms.linux;
32     maintainers = with maintainers; [ dit7ya ];
33     mainProgram = "nwg-dock";
34   };