at 23.11-beta 34 lines 938 B view raw
1{ lib 2, appimageTools 3, fetchurl 4}: 5 6let 7 pname = "requestly"; 8 version = "1.5.12"; 9 10 src = fetchurl { 11 url = "https://github.com/requestly/requestly-desktop-app/releases/download/v${version}/Requestly-${version}.AppImage"; 12 hash = "sha256-HM3+j9E67J1bAklnDtSN5/rOK9Wn7N7h+qlPKR/E8Ns="; 13 }; 14 15 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 16in 17appimageTools.wrapType2 { 18 inherit pname version src; 19 20 extraInstallCommands = '' 21 mv $out/bin/${pname}-${version} $out/bin/${pname} 22 23 install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications 24 cp -r ${appimageContents}/usr/share/icons $out/share 25 ''; 26 27 meta = with lib; { 28 description = "Intercept & Modify HTTP Requests"; 29 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 30 homepage = "https://requestly.io"; 31 license = licenses.agpl3Only; 32 maintainers = with maintainers; [ dit7ya ]; 33 }; 34}