diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-04-29 21:24:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 21:24:41 -0500 |
commit | 3303fbfc19f816f27a32f6112ed11c366b485512 (patch) | |
tree | d23678dfb36a5c8a1a413081608f9dfedff5795f /pkgs/tools | |
parent | 33fce3aec6105a68e19fbdcf47c16168e839aa7f (diff) | |
parent | ff2a1c1590be598d8bfabc4a942e004f3ef38c1b (diff) | |
download | nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar.gz nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar.bz2 nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar.lz nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar.xz nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.tar.zst nixpkgs-3303fbfc19f816f27a32f6112ed11c366b485512.zip |
Merge pull request #228315 from zendo/upd/motrix
motrix: 1.6.11 -> 1.8.14
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/motrix/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/tools/networking/motrix/default.nix b/pkgs/tools/networking/motrix/default.nix index 2c6450b6755..3de4a13a4e9 100644 --- a/pkgs/tools/networking/motrix/default.nix +++ b/pkgs/tools/networking/motrix/default.nix @@ -4,26 +4,28 @@ }: let pname = "motrix"; - version = "1.6.11"; + version = "1.8.14"; src = fetchurl { url = "https://github.com/agalwood/Motrix/releases/download/v${version}/Motrix-${version}.AppImage"; - sha256 = "sha256-tE2Q7NM+cQOg+vyqyfRwg05EOMQWhhggTA6S+VT+SkM="; + hash = "sha256-h4TZzExl1zThwzlKBtL0u3V1jFjjNM2Cscy4hGir9Ts="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; }; in -appimageTools.wrapType2 rec { +appimageTools.wrapType2 { inherit pname version src; extraInstallCommands = '' mv $out/bin/${pname}-${version} $out/bin/${pname} - install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications + + install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications cp -r ${appimageContents}/usr/share/icons $out/share - substituteInPlace $out/share/applications/${pname}.desktop \ - --replace 'Exec=AppRun' 'Exec=${pname}' + + substituteInPlace $out/share/applications/${pname}.desktop \ + --replace 'Exec=AppRun' 'Exec=${pname}' ''; meta = with lib; { @@ -31,6 +33,7 @@ appimageTools.wrapType2 rec { homepage = "https://motrix.app"; license = licenses.mit; platforms = [ "x86_64-linux" ]; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; maintainers = with maintainers; [ dit7ya ]; }; } |