2023-07-08 12:55:26 +00:00
|
|
|
{ lib
|
|
|
|
, appimageTools
|
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "requestly";
|
2024-01-23 06:09:47 +00:00
|
|
|
version = "1.6.0";
|
2023-07-08 12:55:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/requestly/requestly-desktop-app/releases/download/v${version}/Requestly-${version}.AppImage";
|
2024-01-23 06:09:47 +00:00
|
|
|
hash = "sha256-aUhgn6QeCHcs3yi1KKzw+yOUucbTOeNqObTYZTkKqrs=";
|
2023-07-08 12:55:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
|
|
|
in
|
|
|
|
appimageTools.wrapType2 {
|
|
|
|
inherit pname version src;
|
|
|
|
|
|
|
|
extraInstallCommands = ''
|
|
|
|
install -Dm 444 ${appimageContents}/${pname}.desktop -t $out/share/applications
|
|
|
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Intercept & Modify HTTP Requests";
|
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
|
|
homepage = "https://requestly.io";
|
|
|
|
license = licenses.agpl3Only;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "requestly";
|
2023-07-08 12:55:26 +00:00
|
|
|
};
|
|
|
|
}
|