Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 34 lines 918 B view raw
1{ 2 lib, 3 appimageTools, 4 fetchurl, 5}: 6 7let 8 pname = "requestly"; 9 version = "1.6.0"; 10 11 src = fetchurl { 12 url = "https://github.com/requestly/requestly-desktop-app/releases/download/v${version}/Requestly-${version}.AppImage"; 13 hash = "sha256-aUhgn6QeCHcs3yi1KKzw+yOUucbTOeNqObTYZTkKqrs="; 14 }; 15 16 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 17in 18appimageTools.wrapType2 { 19 inherit pname version src; 20 21 extraInstallCommands = '' 22 install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications 23 cp -r ${appimageContents}/usr/share/icons $out/share 24 ''; 25 26 meta = with lib; { 27 description = "Intercept & Modify HTTP Requests"; 28 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 29 homepage = "https://requestly.io"; 30 license = licenses.agpl3Only; 31 maintainers = with maintainers; [ dit7ya ]; 32 mainProgram = "requestly"; 33 }; 34}