nixpkgs/pkgs/applications/window-managers/wayfire/wf-shell.nix

31 lines
980 B
Nix
Raw Normal View History

2020-05-02 17:39:19 +00:00
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, wayland, git
, alsa-lib, gtkmm3, gtk-layer-shell, pulseaudio, wayfire, wf-config
2020-05-02 17:39:19 +00:00
}:
stdenv.mkDerivation rec {
pname = "wf-shell";
version = "0.7.0";
2020-05-02 17:39:19 +00:00
# > Note to packagers: do not use the autogenerated "Source code"
# > archives from GitHub, but the wf-shell-0.4.0.tar.xz file.
src = fetchurl {
url = "https://github.com/WayfireWM/wf-shell/releases/download/v${version}/wf-shell-${version}.tar.xz";
sha256 = "1isybm9lcpxwyf6zh2vzkwrcnw3q7qxm21535g4f08f0l68cd5bl";
2020-05-02 17:39:19 +00:00
};
nativeBuildInputs = [ meson ninja pkg-config wayland ];
buildInputs = [
alsa-lib gtkmm3 gtk-layer-shell pulseaudio wayfire wf-config
2020-05-02 17:39:19 +00:00
];
mesonFlags = [ "--sysconfdir" "/etc" ];
meta = with lib; {
homepage = "https://github.com/WayfireWM/wf-shell";
description = "GTK3-based panel for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 ];
platforms = platforms.unix;
};
}