zeekscript: init at 1.2.1

This commit is contained in:
Fabian Affolter 2023-04-09 18:14:55 +02:00
parent d505646da5
commit 97e9e9afce
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "zeekscript";
version = "1.2.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-LogI9sJHvLN5WHJGdW47D09XZInKln/I2hNmG62d1JU=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
tree-sitter
];
pythonImportsCheck = [
"zeekscript"
];
meta = with lib; {
description = "A Zeek script formatter and analyzer";
homepage = "https://github.com/zeek/zeekscript";
changelog = "https://github.com/zeek/zeekscript/blob/v${version}/CHANGES";
license = licenses.bsd3;
maintainers = with maintainers; [ fab tobim ];
};
}

View File

@ -7080,6 +7080,8 @@ with pkgs;
zeek = callPackage ../applications/networking/ids/zeek { };
zeekscript = callPackage ../tools/security/zeekscript { };
zoekt = callPackage ../tools/text/zoekt { };
zonemaster-cli = perlPackages.ZonemasterCLI;