nixpkgs-suyu/pkgs/tools/security/aide/default.nix

29 lines
750 B
Nix
Raw Normal View History

2017-05-23 02:57:32 +02:00
{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
stdenv.mkDerivation rec {
name = "aide-${version}";
2019-03-09 13:33:11 +01:00
version = "0.16.1";
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";
};
2017-05-23 02:57:32 +02:00
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ];
configureFlags = [
"--with-posix-acl"
"--with-selinux"
"--with-xattr"
];
meta = with stdenv.lib; {
homepage = http://aide.sourceforge.net/;
description = "A file and directory integrity checker";
license = licenses.free;
maintainers = [ maintainers.tstrobel ];
platforms = platforms.linux;
};
}