mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
31 lines
980 B
Nix
31 lines
980 B
Nix
{ stdenv, lib, fetchurl, meson, ninja, pkg-config, wayland, git
|
|
, alsa-lib, gtkmm3, gtk-layer-shell, pulseaudio, wayfire, wf-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wf-shell";
|
|
version = "0.7.0";
|
|
|
|
# > 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";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config wayland ];
|
|
buildInputs = [
|
|
alsa-lib gtkmm3 gtk-layer-shell pulseaudio wayfire wf-config
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|