Merge pull request #235429 from Aleksanaa/nwg-dock-hyprland

nwg-dock-hyprland: init at 0.1.2
This commit is contained in:
Nick Cao 2023-06-09 03:46:02 -06:00 committed by GitHub
commit 3c8dd9ff48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, wrapGAppsHook
, gtk-layer-shell
}:
buildGoModule rec {
pname = "nwg-dock-hyprland";
version = "0.1.2";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7vdfxE3X2J7bDLzose0dKmjxNQhS5+/ROky9wkK1gc0=";
};
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 ];
};
}

View file

@ -32950,6 +32950,8 @@ with pkgs;
nwg-dock = callPackage ../applications/misc/nwg-dock { };
nwg-dock-hyprland = callPackage ../applications/misc/nwg-dock-hyprland { };
nwg-drawer = callPackage ../applications/misc/nwg-drawer { };
nwg-launchers = callPackage ../applications/misc/nwg-launchers { };