9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
34 lines
775 B
Nix
34 lines
775 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, wrapGAppsHook
|
|
, gtk-layer-shell
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nwg-dock-hyprland";
|
|
version = "0.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwg-piotr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5RPp/CZgEkQDg+xn1xQDpLOCzfgWWdTl12aE+SRRPvE=";
|
|
};
|
|
|
|
vendorHash = "sha256-GhcrIVnZRbiGTfeUAWvslOVWDZmoL0ZRnjgTtQgxe2Q=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
|
buildInputs = [ gtk-layer-shell ];
|
|
|
|
meta = with lib; {
|
|
description = "GTK3-based dock for Hyprland";
|
|
homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ aleksana ];
|
|
};
|
|
}
|