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 01:57:32 +01:00
|
|
|
|
2014-10-23 00:29:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "aide";
|
2024-05-12 06:58:21 +01:00
|
|
|
version = "0.18.8";
|
2014-10-23 00:29:14 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2024-05-12 06:58:21 +01:00
|
|
|
sha256 = "sha256-FmYtxjLRfixWMLgBdS+XkSqOIml8Bl694XXxzDe4OmA=";
|
2014-10-23 00:29:14 +01:00
|
|
|
};
|
|
|
|
|
2023-11-19 09:12:21 +00:00
|
|
|
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre2 libgcrypt ];
|
2014-10-23 00:29:14 +01:00
|
|
|
|
2023-11-19 09:12:21 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-10-23 00:29:14 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-posix-acl"
|
|
|
|
"--with-selinux"
|
|
|
|
"--with-xattr"
|
2024-07-29 17:27:20 +01:00
|
|
|
"--sysconfdir=/etc"
|
2014-10-23 00:29:14 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 19:58:07 +01:00
|
|
|
homepage = "https://aide.github.io/";
|
2024-10-04 20:35:12 +01:00
|
|
|
changelog = "https://github.com/aide/aide/blob/v${version}/ChangeLog";
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "File and directory integrity checker";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "aide";
|
2020-10-19 19:58:07 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2023-11-19 09:20:08 +00:00
|
|
|
maintainers = with maintainers; [ happysalada ];
|
2014-10-23 00:29:14 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|