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