2024-01-02 11:29:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre2, pkg-config, libgcrypt }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "aide";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.18.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-FmYtxjLRfixWMLgBdS+XkSqOIml8Bl694XXxzDe4OmA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre2 libgcrypt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-posix-acl"
|
|
|
|
"--with-selinux"
|
|
|
|
"--with-xattr"
|
2024-07-31 10:19:44 +00:00
|
|
|
"--sysconfdir=/etc"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 23:25:03 +00:00
|
|
|
homepage = "https://aide.github.io/";
|
2024-10-04 16:56:33 +00:00
|
|
|
changelog = "https://github.com/aide/aide/blob/v${version}/ChangeLog";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "File and directory integrity checker";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "aide";
|
2020-10-19 23:25:03 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ happysalada ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|