yara: format with nixfmt
This commit is contained in:
parent
073a7a5d6e
commit
fc1676d258
@ -1,18 +1,22 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, pcre
|
||||
, pkg-config
|
||||
, protobufc
|
||||
, withCrypto ? true, openssl
|
||||
, enableCuckoo ? true, jansson
|
||||
, enableDex ? true
|
||||
, enableDotNet ? true
|
||||
, enableMacho ? true
|
||||
, enableMagic ? true, file
|
||||
, enableStatic ? false
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
pcre,
|
||||
pkg-config,
|
||||
protobufc,
|
||||
withCrypto ? true,
|
||||
openssl,
|
||||
enableCuckoo ? true,
|
||||
jansson,
|
||||
enableDex ? true,
|
||||
enableDotNet ? true,
|
||||
enableMacho ? true,
|
||||
enableMagic ? true,
|
||||
file,
|
||||
enableStatic ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -39,16 +43,14 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pcre
|
||||
protobufc
|
||||
] ++ lib.optionals withCrypto [
|
||||
openssl
|
||||
] ++ lib.optionals enableMagic [
|
||||
file
|
||||
] ++ lib.optionals enableCuckoo [
|
||||
jansson
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
pcre
|
||||
protobufc
|
||||
]
|
||||
++ lib.optionals withCrypto [ openssl ]
|
||||
++ lib.optionals enableMagic [ file ]
|
||||
++ lib.optionals enableCuckoo [ jansson ];
|
||||
|
||||
preConfigure = "./bootstrap.sh";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user