mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
35 lines
735 B
Nix
35 lines
735 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, gtk3
|
|
, gtk-layer-shell
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nwg-dock";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nwg-piotr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RCVG38Y8VV7qGz/CaOZ4aw4Sg3PQdrB29zZqATjvYDQ=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-WDygnKdldZda4GadfStHWsDel1KLdzjVjw0RxmnFPRE=";
|
|
|
|
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 ];
|
|
};
|
|
}
|