hstsparser: init at 1.2.0

This commit is contained in:
Fabian Affolter
2023-08-22 12:34:21 +02:00
parent a505e07f38
commit e0d124824e
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "hstsparser";
version = "1.2.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "thebeanogamer";
repo = "hstsparser";
rev = "refs/tags/${version}";
hash = "sha256-9ZNBzPa4mFXbao73QukEL56sM/3dg4ElOMXgNGTVh1g=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
prettytable
];
pythonImportsCheck = [
"hstsparser"
];
meta = with lib; {
description = "Tool to parse Firefox and Chrome HSTS databases into forensic artifacts";
homepage = "https://github.com/thebeanogamer/hstsparser";
changelog = "https://github.com/thebeanogamer/hstsparser/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -22036,6 +22036,8 @@ with pkgs;
hstr = callPackage ../applications/misc/hstr { };
hstsparser = callPackage ../tools/security/hstsparser { };
htmlcxx = callPackage ../development/libraries/htmlcxx { };
http-parser = callPackage ../development/libraries/http-parser { };