python3Packages.frida-python: init at 16.0.19

This commit is contained in:
s1341
2023-06-08 14:52:17 +03:00
parent 507ff39251
commit d5994dc91c
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ lib, stdenv, fetchurl, fetchPypi, buildPythonPackage, typing-extensions }:
let
version = "16.0.19";
devkit = fetchurl {
url = "https://github.com/frida/frida/releases/download/${version}/frida-core-devkit-${version}-linux-x86_64.tar.xz";
hash = "sha256-yNXNqv8eCbpdQKFShpAh6rUCEuItrOSNNLOjESimPdk=";
};
in buildPythonPackage rec {
pname = "frida-python";
inherit version;
src = fetchPypi {
pname = "frida";
inherit version;
hash = "sha256-rikIjjn9wA8VL/St/2JJTcueimn+q/URbt9lw/+nalY=";
};
postPatch = ''
mkdir assets
pushd assets
tar xvf ${devkit}
export FRIDA_CORE_DEVKIT=$PWD
popd
'';
propagatedBuildInputs = [ typing-extensions ];
pythonImportsCheck = [ "frida" ];
passthru = { inherit devkit; };
meta = {
description = "Dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers (Python bindings)";
homepage = "https://www.frida.re";
license = lib.licenses.wxWindows;
maintainers = with lib.maintainers; [ s1341 ];
platforms = [ "x86_64-linux" ];
};
}
+2
View File
@@ -3832,6 +3832,8 @@ self: super: with self; {
freezegun = callPackage ../development/python-modules/freezegun { };
frida-python = callPackage ../development/python-modules/frida-python { };
frigidaire = callPackage ../development/python-modules/frigidaire { };
frilouz = callPackage ../development/python-modules/frilouz { };