about summary refs log tree commit diff
path: root/pkgs/tools/security/aide/default.nix
blob: d190dff842baa18bb9738938db4c1bcaeb9b99d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux }:
stdenv.mkDerivation rec {
  name = "aide-${version}";
  version = "0.16a2";

  src = fetchurl {
    url = "mirror://sourceforge/aide/devel/0.16a2/aide-${version}.tar.gz";
    sha256 = "11qvp6l2x4ajq9485lmg722gfdikh8r2wqfw17m0jm68df0m295m";
  };

  buildInputs = [ flex bison libmhash zlib acl attr libselinux ];


  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;
  };
}