2023-04-12 12:48:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, wayland-scanner
|
|
|
|
, wayfire
|
|
|
|
, wf-config
|
|
|
|
, alsa-lib
|
|
|
|
, gtkmm3
|
|
|
|
, gtk-layer-shell
|
|
|
|
, pulseaudio
|
2023-10-19 13:55:26 +00:00
|
|
|
, libdbusmenu-gtk3
|
2020-12-25 13:55:36 +00:00
|
|
|
}:
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-12-25 13:55:36 +00:00
|
|
|
pname = "wf-shell";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "0.8.0";
|
2020-12-25 13:55:36 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "WayfireWM";
|
2023-08-04 22:07:22 +00:00
|
|
|
repo = "wf-shell";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
fetchSubmodules = true;
|
2023-10-19 13:55:26 +00:00
|
|
|
hash = "sha256-K5g9DfFlqZyPHDUswx3vtzh0D9ogOQ1p87ZrqyH35vs=";
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
wayland-scanner
|
|
|
|
];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
buildInputs = [
|
2023-04-12 12:48:02 +00:00
|
|
|
wayfire
|
|
|
|
wf-config
|
|
|
|
alsa-lib
|
|
|
|
gtkmm3
|
|
|
|
gtk-layer-shell
|
|
|
|
pulseaudio
|
2023-10-19 13:55:26 +00:00
|
|
|
libdbusmenu-gtk3
|
2020-12-25 13:55:36 +00:00
|
|
|
];
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
mesonFlags = [ "--sysconfdir /etc" ];
|
2020-12-25 13:55:36 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
meta = {
|
2020-12-25 13:55:36 +00:00
|
|
|
homepage = "https://github.com/WayfireWM/wf-shell";
|
|
|
|
description = "GTK3-based panel for Wayfire";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
2023-08-04 22:07:22 +00:00
|
|
|
})
|