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

29 lines
750 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
2017-05-23 02:57:32 +02:00
stdenv.mkDerivation rec {
pname = "aide";
2021-03-04 13:02:47 +01:00
version = "0.17.3";
src = fetchurl {
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
2021-03-04 13:02:47 +01:00
sha256 = "sha256-ousYg8r6rQVvvkPuHorgn9NsqjCgvI7f6l1HvWfEZPg=";
};
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 lib; {
2020-10-19 20:58:07 +02:00
homepage = "https://aide.github.io/";
description = "A file and directory integrity checker";
2020-10-19 20:58:07 +02:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.tstrobel ];
platforms = platforms.linux;
};
}