diff options
Diffstat (limited to 'pkgs/applications/misc/nwg-dock/default.nix')
-rw-r--r-- | pkgs/applications/misc/nwg-dock/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nwg-dock/default.nix b/pkgs/applications/misc/nwg-dock/default.nix new file mode 100644 index 000000000000..32361b276b20 --- /dev/null +++ b/pkgs/applications/misc/nwg-dock/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, pkg-config +, gtk3 +, gtk-layer-shell +}: + +buildGoModule rec { + pname = "nwg-dock"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "nwg-piotr"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-X2AhzQsgUWHkPp1YoAxcbq+Oni9C6Yrnyt+Plxya8OI="; + }; + + vendorSha256 = "sha256-5vGfWEBiC3ZJzVTHaOPbaaK/9+yg7Nj0mpbJbYpbY/A="; + + 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 ]; + }; +} |