nixpkgs/pkgs/applications/misc/nwg-dock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
763 B
Nix
Raw Normal View History

2022-11-15 19:24:37 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, gtk3
, gtk-layer-shell
}:
buildGoModule rec {
pname = "nwg-dock";
2024-08-10 02:45:14 +00:00
version = "0.4.0";
2022-11-15 19:24:37 +00:00
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
2024-08-10 02:45:14 +00:00
sha256 = "sha256-qmzCjbWmrDJBB2gnhR5hc0sYD3V0i/SKTavfMA2iLyc=";
2022-11-15 19:24:37 +00:00
};
2024-08-10 02:45:14 +00:00
vendorHash = "sha256-paRcBQwg2uGouMRX5XF++OyN8Y0JyucXLN0G5O0j3qA=";
2022-11-15 19:24:37 +00:00
ldflags = [ "-s" "-w" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk3 gtk-layer-shell ];
meta = with lib; {
description = "GTK3-based dock for sway";
homepage = "https://github.com/nwg-piotr/nwg-dock";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ dit7ya ];
2024-02-11 02:19:15 +00:00
mainProgram = "nwg-dock";
2022-11-15 19:24:37 +00:00
};
}