diff options
author | rewine <lhongxu@outlook.com> | 2023-03-12 02:47:45 +0800 |
---|---|---|
committer | rewine <lhongxu@outlook.com> | 2023-04-02 02:44:10 +0800 |
commit | 2c98c9d34ad887026e3832bee535f6fa88e17492 (patch) | |
tree | 886f83679043d1d995fd9ae6a3e5649904ec75d5 /pkgs/applications/window-managers | |
parent | 790f3ca188e51b60c89a8eac96e5e06e1c0062f3 (diff) |
wf-shell: update
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/wayfire/wf-shell.nix | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/pkgs/applications/window-managers/wayfire/wf-shell.nix b/pkgs/applications/window-managers/wayfire/wf-shell.nix index 51111932cd237..10e16a6573e16 100644 --- a/pkgs/applications/window-managers/wayfire/wf-shell.nix +++ b/pkgs/applications/window-managers/wayfire/wf-shell.nix @@ -1,29 +1,53 @@ -{ stdenv, lib, fetchurl, meson, ninja, pkg-config, wayland, alsa-lib, gtkmm3, gtk-layer-shell, pulseaudio, wayfire, wf-config +{ stdenv +, lib +, fetchFromGitHub +, meson +, ninja +, pkg-config +, wayland-scanner +, wayfire +, wf-config +, alsa-lib +, gtkmm3 +, gtk-layer-shell +, pulseaudio }: 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"; + src = fetchFromGitHub { + owner = "WayfireWM"; + repo = pname; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA="; }; - nativeBuildInputs = [ meson ninja pkg-config wayland ]; + nativeBuildInputs = [ + meson + ninja + pkg-config + wayland-scanner + ]; + buildInputs = [ - alsa-lib gtkmm3 gtk-layer-shell pulseaudio wayfire wf-config + wayfire + wf-config + alsa-lib + gtkmm3 + gtk-layer-shell + pulseaudio ]; - mesonFlags = [ "--sysconfdir" "/etc" ]; + 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 ]; + maintainers = with maintainers; [ qyliss wucke13 rewine ]; platforms = platforms.unix; }; } |