4JMWYDTIY2D2HOC4JTGXMGGAFB56LW2VMK4FT4V4XXNHQJWQT5MAC
QF7VMCPGQIVJI2CPGJOEWS3ROVCB2CB7STNZ4N55UHMGWOZAHJIAC
COUSBBHL5XPZC5KWCYFFAE554D4VFFO55QOD726ODWIRZGWOUSUAC
PS2VFJMZVN77RHZFVUVD2DA3MZNMXYPHT6XRHW2EUTZRGLAXF4YQC
4PEXC6EE4FNTPUYT64XDSOD6X5IVDY3Y2QDKYTSHEBOYS4JATQTQC
3OAFCHK7EIRUD3ZLAGZ3MAXVYOGFAJVDOF63ZIGNU7I3RWIPMAOQC
NJ5ENURMCBSNFQPNXXNUBMUXVJEBIGNH2T7EWGB63F3FV723BUWAC
INKINKWN6MRRH4CGUVTWI5TQ7VSCHA6ODXMLHVVFCHYPM27AYNNQC
KUTBHT3LPAECGVN2NRJHGKBQP2WEPYO6BCG3RCH4YFHPL3MWVWXAC
ZH5LGJE4YAOHG5UP6P4X3NPIUROJWHEXR3PX56PATR5KNIMQL35QC
# back port of
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/misc/nwg-drawer/default.nix#L29
}:
buildGoModule rec {
pname = "nwg-bar";
version = "0.1.7";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WUYWS0pkYJwXadhlZDHIl9BuirLTu5TNITZ+cBMArVw=";
};
vendorSha256 = "sha256-HyrjquJ91ddkyS8JijHd9HjtfwSQykXCufa2wzl8RNk=";
meta = with lib; {
description = "Application drawer for sway Wayland compositor";
homepage = "https://github.com/nwg-piotr/nwg-drawer";
license = licenses.mit;
platforms = platforms.linux;
};
}
maintainers = with maintainers; [plabadens];
buildInputs = [cairo gobject-introspection gtk3 gtk-layer-shell];
nativeBuildInputs = [pkg-config];
{
lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
cairo,
gobject-introspection,
gtk3,
gtk-layer-shell,
}:
buildGoModule rec {
pname = "nwg-bar";
version = "0.0.1";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = pname;
rev = "v${version}";
sha256 = "1hmnl94i72xafdkvafssicwnd2bc82fahvvhg6761mra5p5cyidn";
};
vendorSha256 = "sha256-HyrjquJ91ddkyS8JijHd9HjtfwSQykXCufa2wzl8RNk=";
meta = with lib; {
description = "GTK3-based button bar for sway and other wlroots-based compositors";
homepage = "https://github.com/nwg-piotr/nwg-bar";
license = licenses.mit;
platforms = platforms.linux;
# maintainers = with maintainers; [ plabadens ];
};
}
buildInputs = [cairo gobject-introspection gtk3 gtk-layer-shell];
nativeBuildInputs = [pkg-config];
{
lib,
buildGoModule,
fetchFromGitHub,
pkg-config,
cairo,
gobject-introspection,
gtk3,
gtk-layer-shell,