1{ lib
2, fetchFromGitHub
3, python3
4, wireshark-cli
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "hfinger";
9 version = "0.2.1";
10 disabled = python3.pythonOlder "3.3";
11
12 src = fetchFromGitHub {
13 owner = "CERT-Polska";
14 repo = pname;
15 rev = "v${version}";
16 sha256 = "sha256-QKnrprDDBq+D8N1brkqgcfK4E+6ssvgPtRaSxkF0C84=";
17 };
18
19 propagatedBuildInputs = with python3.pkgs; [
20 fnvhash
21 python-magic
22 ] ++ [
23 wireshark-cli
24 ];
25
26 # Project has no tests
27 doCheck = false;
28 pythonImportsCheck = [ "hfinger" ];
29
30 meta = with lib; {
31 description = "Fingerprinting tool for HTTP requests";
32 homepage = "https://github.com/CERT-Polska/hfinger";
33 license = with licenses; [ gpl3Only ];
34 maintainers = with maintainers; [ fab ];
35 };
36}