mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +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;
|
|
}
|