about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexandre Iooss2024-02-09 18:52:08 +0100
committerAlexandre Iooss2024-02-09 19:06:33 +0100
commit94f6b130d06ea099789f1cb0aa4567b3e3fa924b (patch)
treec18998f5fdbdfa1f55777bdd2a5bdb41f83b35f0
parente385b36a323c434942a2e82da1ba208e63892c8e (diff)
kernel-hardening-checker: init at 0.6.6
-rw-r--r--pkgs/by-name/ke/kernel-hardening-checker/package.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/by-name/ke/kernel-hardening-checker/package.nix b/pkgs/by-name/ke/kernel-hardening-checker/package.nix
new file mode 100644
index 000000000000..ef202db574dd
--- /dev/null
+++ b/pkgs/by-name/ke/kernel-hardening-checker/package.nix
@@ -0,0 +1,25 @@
+{ lib
+, python3Packages
+, fetchFromGitHub
+}:
+
+python3Packages.buildPythonApplication rec {
+  pname = "kernel-hardening-checker";
+  version = "0.6.6";
+
+  src = fetchFromGitHub {
+    owner = "a13xp0p0v";
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-xpVazB9G0cdc0GglGpna80EWHZXfTd5mc5mTvvvoPfE=";
+  };
+
+  meta = with lib; {
+    description = "A tool for checking the security hardening options of the Linux kernel";
+    homepage = "https://github.com/a13xp0p0v/kernel-hardening-checker";
+    license = licenses.gpl3Only;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ erdnaxe ];
+    mainProgram = "kernel-hardening-checker";
+  };
+}