rehex: switch to botan3

Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
Markus Theil 2024-03-24 17:17:29 +01:00 committed by Markus Theil
parent 568a503528
commit 4f7abfbfc0

View File

@ -5,7 +5,7 @@
, which , which
, zip , zip
, libicns , libicns
, botan2 , botan3
, capstone , capstone
, jansson , jansson
, libunistring , libunistring
@ -32,14 +32,17 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config which zip ] nativeBuildInputs = [ pkg-config which zip ]
++ lib.optionals stdenv.isDarwin [ libicns ]; ++ lib.optionals stdenv.isDarwin [ libicns ];
buildInputs = [ botan2 capstone jansson libunistring wxGTK32 ] buildInputs = [ botan3 capstone jansson libunistring wxGTK32 ]
++ (with lua53Packages; [ lua busted ]) ++ (with lua53Packages; [ lua busted ])
++ (with perlPackages; [ perl TemplateToolkit ]) ++ (with perlPackages; [ perl TemplateToolkit ])
++ lib.optionals stdenv.isLinux [ gtk3 ] ++ lib.optionals stdenv.isLinux [ gtk3 ]
++ lib.optionals stdenv.isDarwin [ Carbon Cocoa IOKit ]; ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa IOKit ];
makeFlags = [ "prefix=${placeholder "out"}" ] makeFlags = [
++ lib.optionals stdenv.isDarwin [ "-f Makefile.osx" ]; "prefix=${placeholder "out"}"
"BOTAN_PKG=botan-3"
"CXXSTD=-std=c++20"
] ++ lib.optionals stdenv.isDarwin [ "-f Makefile.osx" ];
enableParallelBuilding = true; enableParallelBuilding = true;