mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
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";
|
|
};
|
|
}
|