mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 15:44:03 +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;
|
|
}
|