about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ke/kernel-hardening-checker/package.nix
blob: ef202db574dd0b0a1c0977b8c16cf269d269a4a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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";
  };
}