2021-08-03 23:46:40 +03:00
|
|
|
{ stdenv, sources, cmake, openssl, enableParallelBuilding ? true }:
|
2020-05-14 21:21:13 +03:00
|
|
|
|
2020-10-27 15:55:49 +03:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libaes_siv";
|
2021-08-03 23:46:40 +03:00
|
|
|
version = sources.libaes_siv.rev;
|
|
|
|
src = sources.libaes_siv;
|
|
|
|
patches = [ ./cmakefiles_static.patch ];
|
2020-05-14 21:21:13 +03:00
|
|
|
|
2021-08-03 23:46:40 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-10-27 15:55:49 +03:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-08-03 23:46:40 +03:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DBUILD_SHARED_LIBS=OFF"
|
|
|
|
];
|
2020-10-27 15:55:49 +03:00
|
|
|
|
|
|
|
inherit enableParallelBuilding;
|
2020-05-14 21:21:13 +03:00
|
|
|
}
|