yara: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-21 11:19:45 +02:00
parent 073a7a5d6e
commit fc1676d258

@ -1,18 +1,22 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, fetchpatch fetchFromGitHub,
, autoreconfHook fetchpatch,
, pcre autoreconfHook,
, pkg-config pcre,
, protobufc pkg-config,
, withCrypto ? true, openssl protobufc,
, enableCuckoo ? true, jansson withCrypto ? true,
, enableDex ? true openssl,
, enableDotNet ? true enableCuckoo ? true,
, enableMacho ? true jansson,
, enableMagic ? true, file enableDex ? true,
, enableStatic ? false enableDotNet ? true,
enableMacho ? true,
enableMagic ? true,
file,
enableStatic ? false,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -39,16 +43,14 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs =
pcre [
protobufc pcre
] ++ lib.optionals withCrypto [ protobufc
openssl ]
] ++ lib.optionals enableMagic [ ++ lib.optionals withCrypto [ openssl ]
file ++ lib.optionals enableMagic [ file ]
] ++ lib.optionals enableCuckoo [ ++ lib.optionals enableCuckoo [ jansson ];
jansson
];
preConfigure = "./bootstrap.sh"; preConfigure = "./bootstrap.sh";