mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 08:38:19 +00:00
unhide: init at 20220611
Release: https://github.com/YJesus/Unhide/releases/tag/v20220611
This commit is contained in:
parent
de95681a8d
commit
fd13b0bb26
64
pkgs/by-name/un/unhide/package.nix
Executable file
64
pkgs/by-name/un/unhide/package.nix
Executable file
@ -0,0 +1,64 @@
|
||||
{
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
iproute2,
|
||||
lib,
|
||||
lsof,
|
||||
nettools,
|
||||
pkg-config,
|
||||
procps,
|
||||
psmisc,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
let
|
||||
makefile = fetchurl {
|
||||
url = "https://gitlab.archlinux.org/archlinux/packaging/packages/unhide/-/raw/27c25ad5e1c6123e89f1f35423a0d50742ae69e9/Makefile";
|
||||
hash = "sha256-bSo3EzpcsFmVvwyPgjCCDOJLbzNpxJ6Eptp2hNK7ZXk=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unhide";
|
||||
version = "20220611";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "YJesus";
|
||||
repo = "Unhide";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-v4otbDhKKRLywH6aP+mbMR0olHbW+jk4TXTBY+iaxdo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cp ${makefile} Makefile
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
iproute2
|
||||
lsof
|
||||
nettools
|
||||
procps
|
||||
psmisc
|
||||
];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = {
|
||||
description = "Forensic tool to find hidden processes and TCP/UDP ports by rootkits/LKMs";
|
||||
homepage = "https://github.com/YJesus/Unhide";
|
||||
changelog = "https://github.com/YJesus/Unhide/blob/${src.rev}/NEWS";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ tochiaha ];
|
||||
mainProgram = "unhide";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user