mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
![Alexis Hildebrandt](/assets/img/avatar_default.png)
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
666 B
Nix
26 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";
|
|
};
|
|
}
|