Loading pkgs/by-name/rq/rquickshare/package.nix +5 −5 Original line number Diff line number Diff line Loading @@ -7,17 +7,17 @@ let pname = "rquickshare"; version = "0.11.2"; src = fetchurl { url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-main_v${version}_glibc-2.39_amd64.AppImage"; hash = "sha256-7w1zybCPRg4RK5bKHoHLDUDXVDQL23ox/6wh8H9vTPg="; url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-legacy_v${version}_glibc-2.31_amd64.AppImage"; hash = "sha256-VXYiYrTSedH8xFjuxbdplzVdfnO6s3ftY2I121Unlfw="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; }; in appimageTools.wrapType2 { inherit pname version src; extraInstallCommands = '' install -Dm444 ${appimageContents}/rquickshare.desktop -t $out/share/applications substituteInPlace $out/share/applications/rquickshare.desktop \ --replace-fail 'Exec=rquickshare' 'Exec=rquickshare %u' install -Dm444 ${appimageContents}/r-quick-share.desktop -t $out/share/applications substituteInPlace $out/share/applications/r-quick-share.desktop \ --replace-fail 'Exec=r-quick-share' 'Exec=r-quick-share %u' cp -r ${appimageContents}/usr/share/icons $out/share ''; Loading Loading
pkgs/by-name/rq/rquickshare/package.nix +5 −5 Original line number Diff line number Diff line Loading @@ -7,17 +7,17 @@ let pname = "rquickshare"; version = "0.11.2"; src = fetchurl { url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-main_v${version}_glibc-2.39_amd64.AppImage"; hash = "sha256-7w1zybCPRg4RK5bKHoHLDUDXVDQL23ox/6wh8H9vTPg="; url = "https://github.com/Martichou/rquickshare/releases/download/v${version}/r-quick-share-legacy_v${version}_glibc-2.31_amd64.AppImage"; hash = "sha256-VXYiYrTSedH8xFjuxbdplzVdfnO6s3ftY2I121Unlfw="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; }; in appimageTools.wrapType2 { inherit pname version src; extraInstallCommands = '' install -Dm444 ${appimageContents}/rquickshare.desktop -t $out/share/applications substituteInPlace $out/share/applications/rquickshare.desktop \ --replace-fail 'Exec=rquickshare' 'Exec=rquickshare %u' install -Dm444 ${appimageContents}/r-quick-share.desktop -t $out/share/applications substituteInPlace $out/share/applications/r-quick-share.desktop \ --replace-fail 'Exec=r-quick-share' 'Exec=r-quick-share %u' cp -r ${appimageContents}/usr/share/icons $out/share ''; Loading