Merge pull request #319805 from sikmir/lib60870
lib60870: enable tls support
This commit is contained in:
commit
b08a7c4d5e
@ -4,6 +4,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
mbedtls_2,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@ -23,6 +24,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ mbedtls_2 ];
|
||||
|
||||
cmakeFlags = [ (lib.cmakeBool "WITH_MBEDTLS" true) ];
|
||||
|
||||
env.NIX_LDFLAGS = "-lmbedcrypto -lmbedx509 -lmbedtls";
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user