zeekscript: init at 1.2.1
This commit is contained in:
parent
d505646da5
commit
97e9e9afce
35
pkgs/tools/security/zeekscript/default.nix
Normal file
35
pkgs/tools/security/zeekscript/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7080,6 +7080,8 @@ with pkgs;
|
||||||
|
|
||||||
zeek = callPackage ../applications/networking/ids/zeek { };
|
zeek = callPackage ../applications/networking/ids/zeek { };
|
||||||
|
|
||||||
|
zeekscript = callPackage ../tools/security/zeekscript { };
|
||||||
|
|
||||||
zoekt = callPackage ../tools/text/zoekt { };
|
zoekt = callPackage ../tools/text/zoekt { };
|
||||||
|
|
||||||
zonemaster-cli = perlPackages.ZonemasterCLI;
|
zonemaster-cli = perlPackages.ZonemasterCLI;
|
||||||
|
|
Loading…
Reference in a new issue