From 5aba71fa5ff6d2692954b0b34dc76acd423a6d72 Mon Sep 17 00:00:00 2001 From: Christopher Schnick Date: Wed, 28 May 2025 06:14:54 +0200 Subject: [PATCH] xpipe: 14.2 -> 16.4.1 --- pkgs/by-name/xp/xpipe/package.nix | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/xp/xpipe/package.nix b/pkgs/by-name/xp/xpipe/package.nix index 073fda85e381..67c153fb2983 100644 --- a/pkgs/by-name/xp/xpipe/package.nix +++ b/pkgs/by-name/xp/xpipe/package.nix @@ -39,7 +39,7 @@ let hash = { - x86_64-linux = "sha256-u2T2pKO+rOs29Un8dKc+sUqBJiruu6GS6wzrJhKKW9Y="; + x86_64-linux = "sha256-Ma2WWknZ0rF9NZNqOaPyQ2eil34HWmgSIHMnfaSaFjs="; } .${system} or throwSystem; @@ -48,7 +48,7 @@ let in stdenvNoCC.mkDerivation rec { pname = "xpipe"; - version = "14.2"; + version = "16.4.1"; src = fetchzip { url = "https://github.com/xpipe-io/xpipe/releases/download/${version}/xpipe-portable-linux-${arch}.tar.gz"; @@ -90,7 +90,7 @@ stdenvNoCC.mkDerivation rec { categories = [ "Network" ]; comment = "Your entire server infrastructure at your fingertips"; desktopName = displayname; - exec = "/opt/${pname}/cli/bin/xpipe open %U"; + exec = "/opt/${pname}/bin/xpipe open %U"; genericName = "Shell connection hub"; icon = "/opt/${pname}/logo.png"; name = displayname; @@ -104,22 +104,19 @@ stdenvNoCC.mkDerivation rec { cp -r ./ $out/opt/$pkg mkdir -p "$out/bin" - ln -s "$out/opt/$pkg/cli/bin/xpipe" "$out/bin/$pkg" + ln -s "$out/opt/$pkg/bin/xpipe" "$out/bin/$pkg" mkdir -p "$out/share/applications" cp -r "${desktopItem}/share/applications/" "$out/share/" - mkdir -p "$out/etc/bash_completion.d" - ln -s "$out/opt/$pkg/cli/xpipe_completion" "$out/etc/bash_completion.d/$pkg" - substituteInPlace "$out/share/applications/${displayname}.desktop" --replace "Exec=" "Exec=$out" substituteInPlace "$out/share/applications/${displayname}.desktop" --replace "Icon=" "Icon=$out" - mv "$out/opt/$pkg/app/bin/xpiped" "$out/opt/$pkg/app/bin/xpiped_raw" - mv "$out/opt/$pkg/app/lib/app/xpiped.cfg" "$out/opt/$pkg/app/lib/app/xpiped_raw.cfg" - mv "$out/opt/$pkg/app/scripts/xpiped_debug.sh" "$out/opt/$pkg/app/scripts/xpiped_debug_raw.sh" + mv "$out/opt/$pkg/bin/xpiped" "$out/opt/$pkg/bin/xpiped_raw" + mv "$out/opt/$pkg/lib/app/xpiped.cfg" "$out/opt/$pkg/lib/app/xpiped_raw.cfg" + mv "$out/opt/$pkg/scripts/xpiped_debug.sh" "$out/opt/$pkg/scripts/xpiped_debug_raw.sh" - makeShellWrapper "$out/opt/$pkg/app/bin/xpiped_raw" "$out/opt/$pkg/app/bin/xpiped" \ + makeShellWrapper "$out/opt/$pkg/bin/xpiped_raw" "$out/opt/$pkg/bin/xpiped" \ --prefix LD_LIBRARY_PATH : "${ lib.makeLibraryPath [ fontconfig @@ -129,7 +126,8 @@ stdenvNoCC.mkDerivation rec { socat ] }" - makeShellWrapper "$out/opt/$pkg/app/scripts/xpiped_debug_raw.sh" "$out/opt/$pkg/app/scripts/xpiped_debug.sh" \ + + makeShellWrapper "$out/opt/$pkg/scripts/xpiped_debug_raw.sh" "$out/opt/$pkg/scripts/xpiped_debug.sh" \ --prefix LD_LIBRARY_PATH : "${ lib.makeLibraryPath [ fontconfig