2023-11-19 09:12:21 +00:00
|
|
|
{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre2, pkg-config, libgcrypt }:
|
2017-05-23 00:57:32 +00:00
|
|
|
|
2014-10-22 23:29:14 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "aide";
|
2023-11-19 09:12:21 +00:00
|
|
|
version = "0.18.6";
|
2014-10-22 23:29:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2023-11-19 09:12:21 +00:00
|
|
|
sha256 = "sha256-j/Ns5H030MyYd2LV2WE0bUdd50u6ihgy/QBttu3TwQ4=";
|
2014-10-22 23:29:14 +00:00
|
|
|
};
|
|
|
|
|
2023-11-19 09:12:21 +00:00
|
|
|
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre2 libgcrypt ];
|
2014-10-22 23:29:14 +00:00
|
|
|
|
2023-11-19 09:12:21 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-10-22 23:29:14 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-posix-acl"
|
|
|
|
"--with-selinux"
|
|
|
|
"--with-xattr"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 18:58:07 +00:00
|
|
|
homepage = "https://aide.github.io/";
|
2015-04-30 15:05:14 +00:00
|
|
|
description = "A file and directory integrity checker";
|
2020-10-19 18:58:07 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2023-11-19 09:20:08 +00:00
|
|
|
maintainers = with maintainers; [ happysalada ];
|
2014-10-22 23:29:14 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|