2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
|
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";
|
2019-06-01 04:29:11 +01:00
|
|
|
version = "0.16.2";
|
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";
|
2019-06-01 04:29:11 +01:00
|
|
|
sha256 = "15xp47sz7kk1ciffw3f5xw2jg2mb2lqrbr3q6p4bkbz5dap9iy8p";
|
2014-10-23 00:29:14 +01:00
|
|
|
};
|
|
|
|
|
2017-05-23 01:57:32 +01:00
|
|
|
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ];
|
2014-10-23 00:29:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-posix-acl"
|
|
|
|
"--with-selinux"
|
|
|
|
"--with-xattr"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 19:58:07 +01:00
|
|
|
homepage = "https://aide.github.io/";
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A file and directory integrity checker";
|
2020-10-19 19:58:07 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2014-10-23 00:29:14 +01:00
|
|
|
maintainers = [ maintainers.tstrobel ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|