nixpkgs-suyu/pkgs/tools/security/aide/default.nix
2021-03-04 12:02:47 +00:00

28 lines
750 B
Nix

{ lib, stdenv, fetchurl, flex, bison, libmhash, zlib, acl, attr, libselinux, pcre }:
stdenv.mkDerivation rec {
pname = "aide";
version = "0.17.3";
src = fetchurl {
url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-ousYg8r6rQVvvkPuHorgn9NsqjCgvI7f6l1HvWfEZPg=";
};
buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ];
configureFlags = [
"--with-posix-acl"
"--with-selinux"
"--with-xattr"
];
meta = with lib; {
homepage = "https://aide.github.io/";
description = "A file and directory integrity checker";
license = licenses.gpl2Plus;
maintainers = [ maintainers.tstrobel ];
platforms = platforms.linux;
};
}