mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #242276 from dit7ya/requestly
requestly: init at 1.5.6
This commit is contained in:
commit
c2e2ed2008
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/networking/requestly/default.nix
Normal file
34
pkgs/tools/networking/requestly/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -19759,6 +19759,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 {
|
||||
|
|
Loading…
Reference in a new issue