3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/aide/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
752 B
Nix

{ stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
stdenv.mkDerivation rec {
pname = "aide";
version = "0.16.2";
src = fetchurl {
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "15xp47sz7kk1ciffw3f5xw2jg2mb2lqrbr3q6p4bkbz5dap9iy8p";
};
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;
};
}