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-01-02 11:29:13 +00:00
|
|
|
version = "0.18.6";
|
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-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-j/Ns5H030MyYd2LV2WE0bUdd50u6ihgy/QBttu3TwQ4=";
|
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"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 23:25:03 +00:00
|
|
|
homepage = "https://aide.github.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A file and directory integrity checker";
|
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;
|
|
|
|
};
|
|
|
|
}
|