2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
|
2017-05-23 02:57:32 +02:00
|
|
|
|
2014-10-23 01:29:14 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "aide";
|
2022-01-23 21:54:27 +01:00
|
|
|
version = "0.17.4";
|
2014-10-23 01:29:14 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2022-01-23 21:54:27 +01:00
|
|
|
sha256 = "sha256-yBUFJG8//C52A21Dp3ISroKJW1iB2bniXBNhsam3qEY=";
|
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"
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-19 20:58:07 +02:00
|
|
|
homepage = "https://aide.github.io/";
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A file and directory integrity checker";
|
2020-10-19 20:58:07 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2022-06-23 01:40:02 +02:00
|
|
|
maintainers = [ ];
|
2014-10-23 01:29:14 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|