2017-05-22 17:57:32 -07:00
|
|
|
{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
|
|
|
|
|
2014-10-22 16:29:14 -07:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aide-${version}";
|
2019-05-31 20:29:11 -07:00
|
|
|
version = "0.16.2";
|
2014-10-22 16:29:14 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-09 04:33:11 -08:00
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${name}.tar.gz";
|
2019-05-31 20:29:11 -07:00
|
|
|
sha256 = "15xp47sz7kk1ciffw3f5xw2jg2mb2lqrbr3q6p4bkbz5dap9iy8p";
|
2014-10-22 16:29:14 -07:00
|
|
|
};
|
|
|
|
|
2017-05-22 17:57:32 -07:00
|
|
|
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ];
|
2014-10-22 16:29:14 -07:00
|
|
|
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-posix-acl"
|
|
|
|
"--with-selinux"
|
|
|
|
"--with-xattr"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://aide.sourceforge.net/;
|
2015-04-30 08:05:14 -07:00
|
|
|
description = "A file and directory integrity checker";
|
2014-10-22 16:29:14 -07:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = [ maintainers.tstrobel ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|