159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
35 lines
763 B
Nix
35 lines
763 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, gtk3
|
|
, gtk-layer-shell
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nwg-dock";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwg-piotr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZR72QMftR6bWCieJHW3k46Ujdn/W5fulGxYKoNPiPfE=";
|
|
};
|
|
|
|
vendorHash = "sha256-paRcBQwg2uGouMRX5XF++OyN8Y0JyucXLN0G5O0j3qA=";
|
|
|
|
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 ];
|
|
mainProgram = "nwg-dock";
|
|
};
|
|
}
|