mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-23 06:42:09 +03:00
18 lines
374 B
Nix
18 lines
374 B
Nix
{ stdenv, sources, cmake, openssl, enableParallelBuilding ? true }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libaes_siv";
|
|
version = sources.libaes_siv.rev;
|
|
src = sources.libaes_siv;
|
|
patches = [ ./cmakefiles_static.patch ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ openssl ];
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_SHARED_LIBS=OFF"
|
|
];
|
|
|
|
inherit enableParallelBuilding;
|
|
}
|