2017-05-23 01:57:32 +01:00
|
|
|
{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
|
|
|
|
|
2014-10-23 00:29:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "aide-${version}";
|
2019-03-09 12:33:11 +00:00
|
|
|
version = "0.16.1";
|
2014-10-23 00:29:14 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-09 12:33:11 +00:00
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${name}.tar.gz";
|
|
|
|
sha256 = "1dqhc0c24wa4zid06pfy61k357yvzh28ij86bk9jf6hcqzn7qaqg";
|
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"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://aide.sourceforge.net/;
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A file and directory integrity checker";
|
2014-10-23 00:29:14 +01:00
|
|
|
license = licenses.free;
|
|
|
|
maintainers = [ maintainers.tstrobel ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|