depot/pkgs/by-name/ke/kernel-hardening-checker/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

25 lines
666 B
Nix

{ 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 = "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";
};
}