Unverified Commit 5b36d1f5 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

Merge pull request #331292 from JohnRTitor/uwsm

uwsm: 0.17.2 -> 0.17.4
parents c6fcd7bc 52aa79e4
Loading
Loading
Loading
Loading
+3 −14
Original line number Diff line number Diff line
@@ -14,13 +14,9 @@
  newt,
  python3Packages,
  util-linux,
  hyprland,
  sway,
  fumonSupport ? true,
  uuctlSupport ? true,
  uwsmAppSupport ? true,
  hyprlandSupport ? false,
  swaySupport ? false,
}:
let
  python = python3Packages.python.withPackages (ps: [
@@ -31,13 +27,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
  pname = "uwsm";
  version = "0.17.2";
  version = "0.17.4";

  src = fetchFromGitHub {
    owner = "Vladimir-csp";
    repo = "uwsm";
    rev = "refs/tags/v${finalAttrs.version}";
    hash = "sha256-7RPz0VOUJ4fFhxNq+/s+/YEvy03XXgssggPn/JtOZI4=";
    hash = "sha256-wjKFaZBEA5nbUob6czwJqny62rJdCoWEM3IUl1fTWOw=";
  };

  nativeBuildInputs = [
@@ -73,14 +69,7 @@ stdenv.mkDerivation (finalAttrs: {
  postInstall =
    let
      wrapperArgs = ''
        --prefix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}" \
        --suffix PATH : "${
          lib.makeBinPath (
            # uwsm as of 0.17.2 can load WMs like sway and hyprland by path
            # but this is still needed as a fallback
            lib.optionals hyprlandSupport [ hyprland ] ++ lib.optionals swaySupport [ sway ]
          )
        }"
        --prefix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}"
      '';
    in
    ''