mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
commit
ced5c009be
1905
pkgs/by-name/fi/fim-rs/Cargo.lock
generated
Normal file
1905
pkgs/by-name/fi/fim-rs/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
68
pkgs/by-name/fi/fim-rs/package.nix
Normal file
68
pkgs/by-name/fi/fim-rs/package.nix
Normal file
@ -0,0 +1,68 @@
|
||||
{ lib
|
||||
, bzip2
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, zstd
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fim-rs";
|
||||
version = "0.4.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Achiefs";
|
||||
repo = "fim";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NrxjiJY+qgPfsNY2Xlm0KRArIDH3+u9uA5gSPem+9uc=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bzip2
|
||||
zstd
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
env = {
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
# There is a failure while the binary is checked
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Host-based file integrity monitoring tool";
|
||||
longDescription = ''
|
||||
FIM is a File Integrity Monitoring tool that tracks any event over your
|
||||
files. It is capable of keeping historical data of your files. It checks
|
||||
the filesystem changes in the background.
|
||||
|
||||
FIM is the fastest alternative to other software like Ossec, which
|
||||
performs file integrity monitoring. It could integrate with other
|
||||
security tools. The produced data can be ingested and analyzed with
|
||||
tools like ElasticSearch/OpenSearch.
|
||||
'';
|
||||
homepage = "https://github.com/Achiefs/fim";
|
||||
changelog = "https://github.com/Achiefs/fim/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "fim";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user