diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-11 00:22:19 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-11 00:22:19 +0200 |
commit | e5b6e6f2897ba9bb95d1c753b16ad687c581615e (patch) | |
tree | 5c84c629708eb884a613c7e2c8431965793e00ea /pkgs/tools/security/hfinger | |
parent | 41d8ec87b2429177dcc053977f225a2979271057 (diff) | |
download | nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar.gz nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar.bz2 nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar.lz nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar.xz nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.tar.zst nixpkgs-e5b6e6f2897ba9bb95d1c753b16ad687c581615e.zip |
hfinger: init at 0.2.0
Diffstat (limited to 'pkgs/tools/security/hfinger')
-rw-r--r-- | pkgs/tools/security/hfinger/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/tools/security/hfinger/default.nix b/pkgs/tools/security/hfinger/default.nix new file mode 100644 index 00000000000..9e053276ecf --- /dev/null +++ b/pkgs/tools/security/hfinger/default.nix @@ -0,0 +1,36 @@ +{ lib +, fetchFromGitHub +, python3 +, wireshark-cli +}: + +python3.pkgs.buildPythonApplication rec { + pname = "hfinger"; + version = "0.2.0"; + disabled = python3.pythonOlder "3.3"; + + src = fetchFromGitHub { + owner = "CERT-Polska"; + repo = pname; + rev = "v${version}"; + sha256 = "1vz8mf572qyng684fvb9gdwaaiybk7mjmikbymvjvy24d10raak1"; + }; + + propagatedBuildInputs = with python3.pkgs; [ + fnvhash + python_magic + ] ++ [ + wireshark-cli + ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "hfinger" ]; + + meta = with lib; { + description = "Fingerprinting tool for HTTP requests"; + homepage = "https://github.com/CERT-Polska/hfinger"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} |