2023-06-06 02:37:52 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pkg-config,
|
|
|
|
gtk3,
|
|
|
|
gtk-layer-shell,
|
2023-05-19 14:17:51 +02:00
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nwg-dock-hyprland";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nwg-piotr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-7vdfxE3X2J7bDLzose0dKmjxNQhS5+/ROky9wkK1gc0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-GhcrIVnZRbiGTfeUAWvslOVWDZmoL0ZRnjgTtQgxe2Q=";
|
|
|
|
|
2023-06-06 02:37:52 +02:00
|
|
|
ldflags = ["-s" "-w"];
|
2023-05-19 14:17:51 +02:00
|
|
|
|
2023-06-06 02:37:52 +02:00
|
|
|
nativeBuildInputs = [pkg-config];
|
|
|
|
buildInputs = [gtk3 gtk-layer-shell];
|
2023-05-19 14:17:51 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GTK3-based dock for hyprland";
|
|
|
|
homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2023-06-06 02:37:52 +02:00
|
|
|
maintainers = with maintainers; [dit7ya];
|
2023-05-19 14:17:51 +02:00
|
|
|
};
|
|
|
|
}
|