Merge pull request #201362 from dit7ya/nwg-dock

This commit is contained in:
Sandro 2022-12-24 01:12:22 +01:00 committed by GitHub
commit ae30d92744
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
, 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 ];
};
}

View File

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