mbedtls: 2.12.0 -> 2.14.0
This commit is contained in:
parent
10851bbbd1
commit
72894e94d3
|
@ -4,22 +4,23 @@
|
|||
, cmake
|
||||
, ninja
|
||||
, perl # Project uses Perl for scripting and testing
|
||||
, python
|
||||
|
||||
, enableThreading ? true # Threading can be disabled to increase security https://tls.mbed.org/kb/development/thread-safety-and-multi-threading
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mbedtls-${version}";
|
||||
version = "2.12.0";
|
||||
version = "2.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ARMmbed";
|
||||
repo = "mbedtls";
|
||||
rev = name;
|
||||
sha256 = "09snlzlbn8yq95dnfbj2g5bh6y4q82xkaph7qp9ddnlqiaqcji2h";
|
||||
sha256 = "0115qk69j4dvkvw5ci34zlajzhk2hbkiqbjyzr0lxf0mnqacl03i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja perl ];
|
||||
nativeBuildInputs = [ cmake ninja perl python ];
|
||||
|
||||
postConfigure = stdenv.lib.optionals enableThreading ''
|
||||
perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer
|
||||
|
|
Loading…
Reference in New Issue