2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, wrapGAppsHook
|
|
|
|
, gtk-layer-shell
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nwg-dock-hyprland";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.1.7";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nwg-piotr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-Lekvk3tQfeOR+Ltbc5b7TMiUZpktZ2nvCtUncrFb+Kc=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-5fN/6HASfTMb80YYAIoWRqnRGMvvX4d8C2UvOc0jQU0=";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
|
|
|
buildInputs = [ gtk-layer-shell ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GTK3-based dock for Hyprland";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "nwg-dock-hyprland";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ aleksana ];
|
|
|
|
};
|
|
|
|
}
|