2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-04-16 02:38:16 +00:00

requestly: init at 1.5.6

This commit is contained in:
Mostly Void 2023-07-08 14:55:26 +02:00
parent 5eb2425c0e
commit 35fc25f05e
No known key found for this signature in database
GPG Key ID: E2B7342D0CAA82C2
2 changed files with 36 additions and 0 deletions
pkgs
tools/networking/requestly
top-level

View File

@ -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 ];
};
}

View File

@ -19228,6 +19228,8 @@ with pkgs;
inherit (callPackage ../development/tools/replay-io { })
replay-io replay-node-cli;
requestly = callPackage ../tools/networking/requestly { };
reshape = callPackage ../development/tools/reshape { } ;
retdec = callPackage ../development/tools/analysis/retdec {