biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / hfinger / default.nix
blobbaca9ed5ddd27a7d5b8b0fb2669a25ffd58ead10
1 { lib
2 , fetchFromGitHub
3 , python3
4 , wireshark-cli
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "hfinger";
9   version = "0.2.2";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "CERT-Polska";
14     repo = "hfinger";
15     rev = "refs/tags/v${version}";
16     hash = "sha256-gxwirAqtY4R3KDHyNmDIknABO+SFuoDua9nm1UyXbxA=";
17   };
19   nativeBuildInputs = with python3.pkgs; [
20     setuptools
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     fnvhash
25     python-magic
26   ] ++ [
27     wireshark-cli
28   ];
30   # Project has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "hfinger"
35   ];
37   meta = with lib; {
38     description = "Fingerprinting tool for HTTP requests";
39     mainProgram = "hfinger";
40     homepage = "https://github.com/CERT-Polska/hfinger";
41     changelog = "https://github.com/CERT-Polska/hfinger/releases/tag/v${version}";
42     license = with licenses; [ gpl3Only ];
43     maintainers = with maintainers; [ fab ];
44   };