diff options
author | rewine <lhongxu@outlook.com> | 2023-03-12 02:48:38 +0800 |
---|---|---|
committer | rewine <lhongxu@outlook.com> | 2023-04-02 02:51:00 +0800 |
commit | a852c3656ac6b91376dbb7339157d3948409e680 (patch) | |
tree | 275aebd89599cb240937078ec3e831372482fc4e /pkgs/applications/window-managers/wayfire | |
parent | 2c98c9d34ad887026e3832bee535f6fa88e17492 (diff) |
wcm: 0.7.0 -> 0.7.5
Diffstat (limited to 'pkgs/applications/window-managers/wayfire')
-rw-r--r-- | pkgs/applications/window-managers/wayfire/wcm.nix | 54 |
1 files changed, 44 insertions, 10 deletions
diff --git a/pkgs/applications/window-managers/wayfire/wcm.nix b/pkgs/applications/window-managers/wayfire/wcm.nix index 9d524019ad5f8..a677021855211 100644 --- a/pkgs/applications/window-managers/wayfire/wcm.nix +++ b/pkgs/applications/window-managers/wayfire/wcm.nix @@ -1,27 +1,61 @@ -{ stdenv, lib, fetchurl, meson, ninja, pkg-config, wayland, wrapGAppsHook -, gtk3, libevdev, libxml2, wayfire, wayland-protocols, wf-config, wf-shell +{ stdenv +, lib +, fetchFromGitHub +, meson +, ninja +, pkg-config +, wayland +, wrapGAppsHook +, wayfire +, wf-shell +, wf-config +, wayland-scanner +, wayland-protocols +, gtk3 +, libevdev +, libxml2 }: stdenv.mkDerivation rec { pname = "wcm"; - version = "0.7.0"; + version = "0.7.5"; - src = fetchurl { - url = "https://github.com/WayfireWM/wcm/releases/download/v${version}/wcm-${version}.tar.xz"; - sha256 = "19za1fnlf5hz4n4mxxwqcr5yxp6mga9ah539ifnjnqrgvj19cjlj"; + src = fetchFromGitHub { + owner = "WayfireWM"; + repo = pname; + rev = "v${version}"; + fetchSubmodules = true; + sha256 = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU="; }; - nativeBuildInputs = [ meson ninja pkg-config wayland wrapGAppsHook ]; + nativeBuildInputs = [ + meson + ninja + pkg-config + wayland-scanner + wrapGAppsHook + ]; + buildInputs = [ - gtk3 libevdev libxml2 wayfire wayland - wayland-protocols wf-config wf-shell + wayfire + wf-config + wf-shell + wayland + wayland-protocols + gtk3 + libevdev + libxml2 + ]; + + mesonFlags = [ + "-Denable_wdisplays=false" ]; meta = with lib; { homepage = "https://github.com/WayfireWM/wcm"; description = "Wayfire Config Manager"; license = licenses.mit; - maintainers = with maintainers; [ qyliss wucke13 ]; + maintainers = with maintainers; [ qyliss wucke13 rewine ]; platforms = platforms.unix; }; } |