diff options
author | Mostly Void <7rat13@gmail.com> | 2023-07-08 14:55:26 +0200 |
---|---|---|
committer | Mostly Void <7rat13@gmail.com> | 2023-08-07 07:06:41 +0300 |
commit | 35fc25f05ef0a281a50973d472327a3c7b8a18c0 (patch) | |
tree | 9c2e9739291c5ad2829c247a0683e9c036985bc3 /pkgs/tools/networking/requestly | |
parent | 5eb2425c0e7fe9d38a1838c60e65d813e9603b0a (diff) | |
download | nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar.gz nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar.bz2 nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar.lz nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar.xz nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.tar.zst nixlib-35fc25f05ef0a281a50973d472327a3c7b8a18c0.zip |
requestly: init at 1.5.6
Diffstat (limited to 'pkgs/tools/networking/requestly')
-rw-r--r-- | pkgs/tools/networking/requestly/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/networking/requestly/default.nix b/pkgs/tools/networking/requestly/default.nix new file mode 100644 index 000000000000..33d03140c398 --- /dev/null +++ b/pkgs/tools/networking/requestly/default.nix @@ -0,0 +1,34 @@ +{ lib +, appimageTools +, fetchurl +}: + +let + pname = "requestly"; + version = "1.5.6"; + + src = fetchurl { + url = "https://github.com/requestly/requestly-desktop-app/releases/download/v${version}/Requestly-${version}.AppImage"; + hash = "sha256-Yb90OGIIvExfNPoJPmuZSvtU5OQVuGqh4EmyKltE+is="; + }; + + appimageContents = appimageTools.extractType2 { inherit pname version src; }; +in +appimageTools.wrapType2 { + inherit pname version src; + + extraInstallCommands = '' + mv $out/bin/${pname}-${version} $out/bin/${pname} + + 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 ]; + }; +} |