Merge pull request #201362 from dit7ya/nwg-dock
This commit is contained in:
commit
ae30d92744
34
pkgs/applications/misc/nwg-dock/default.nix
Normal file
34
pkgs/applications/misc/nwg-dock/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue