mbedtls: 2.16.9 -> 2.26.0
This commit is contained in:
parent
e19d3ff8f9
commit
ac27176316
|
@ -11,13 +11,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mbedtls";
|
||||
version = "2.16.9"; # nixpkgs-update: no auto update
|
||||
version = "2.26.0"; # nixpkgs-update: no auto update
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ARMmbed";
|
||||
repo = "mbedtls";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0mz7n373b8d287crwi6kq2hb8ryyi228j38h25744lqai23qj5cf";
|
||||
sha256 = "0scwpmrgvg6q7rvqkc352d2fqlsx0aylcbyibcp1f1rsn8iiif2m";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja perl python3 ];
|
||||
|
@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
cmakeFlags = [ "-DUSE_SHARED_MBEDTLS_LIBRARY=on" ];
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=format"
|
||||
"-Wno-error=format-truncation"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tls.mbed.org/";
|
||||
|
|
Loading…
Reference in New Issue