generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fritap.nix
48 lines (42 loc) · 975 Bytes
/
fritap.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ lib
, python3
, fetchFromGitHub
, frida-tools
}:
python3.pkgs.buildPythonApplication rec {
pname = "fritap";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "fkie-cad";
repo = "friTap";
rev = "v${version}";
hash = "sha256-s1lCOo04KI6FZ6x66NPTF7hAehr4WRB4+0OVv8dKodc=";
};
nativeBuildInputs = [
python3.pkgs.setuptools
python3.pkgs.wheel
];
propagatedBuildInputs = (with python3.pkgs; [
click
#frida
frida-python # TODO rename to frida
hexdump
scapy
watchdog
]) ++ [
frida-tools
];
# TODO lowercase?
#pythonImportsCheck = [ "fritap" ];
pythonImportsCheck = [ "friTap" ];
meta = with lib; {
description = "analyze traffic encapsulated in SSL or TLS";
homepage = "https://github.com/fkie-cad/friTap";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
# TODO lowercase?
#mainProgram = "fritap";
mainProgram = "friTap";
};
}