depot/third_party/nixpkgs/pkgs/applications/window-managers/wayfire/wf-shell.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

53 lines
955 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, wayland-scanner
, wayfire
, alsa-lib
, gtkmm3
, gtk-layer-shell
, pulseaudio
, libdbusmenu-gtk3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wf-shell";
version = "0.8.1";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = "wf-shell";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-/ajFPIk8VJnlu2DzvSyGD3bC4r/pxALTkZeLNvs9dTw=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
wayfire
alsa-lib
gtkmm3
gtk-layer-shell
pulseaudio
libdbusmenu-gtk3
];
mesonFlags = [ "--sysconfdir /etc" ];
meta = {
homepage = "https://github.com/WayfireWM/wf-shell";
description = "GTK3-based panel for Wayfire";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
platforms = lib.platforms.unix;
};
})