diff --git a/pkgs/tools/security/aide/default.nix b/pkgs/tools/security/aide/default.nix index b34be9a37710..af0a5f7ce308 100644 --- a/pkgs/tools/security/aide/default.nix +++ b/pkgs/tools/security/aide/default.nix @@ -1,16 +1,17 @@ -{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }: +{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre2, pkg-config, libgcrypt }: stdenv.mkDerivation rec { pname = "aide"; - version = "0.17.4"; + version = "0.18.6"; src = fetchurl { url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz"; - sha256 = "sha256-yBUFJG8//C52A21Dp3ISroKJW1iB2bniXBNhsam3qEY="; + sha256 = "sha256-j/Ns5H030MyYd2LV2WE0bUdd50u6ihgy/QBttu3TwQ4="; }; - buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ]; + buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre2 libgcrypt ]; + nativeBuildInputs = [ pkg-config ]; configureFlags = [ "--with-posix-acl"