mbedtls_1_3; init at 1.3.17

This commit is contained in:
Michael Raskin 2016-09-05 22:14:04 +02:00
parent 9d1d0dd546
commit 4ae17801af
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "mbedtls-1.3.17";
src = fetchurl {
url = "https://tls.mbed.org/download/${name}-gpl.tgz";
sha256 = "10nviv3d8w6sp3kn3yzdpssvzqxdbr4kg38g7rg930q2hlzb9gpm";
};
nativeBuildInputs = [ perl ];
postPatch = ''
patchShebangs .
'';
makeFlags = [
"SHARED=1"
];
installFlags = [
"DESTDIR=\${out}"
];
doCheck = true;
meta = with stdenv.lib; {
homepage = https://tls.mbed.org/;
description = "Portable cryptographic and SSL/TLS library, aka polarssl";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington fpletz ];
};
}

View file

@ -8766,6 +8766,7 @@ in
matio = callPackage ../development/libraries/matio { };
mbedtls = callPackage ../development/libraries/mbedtls { };
mbedtls_1_3 = callPackage ../development/libraries/mbedtls/1.3.nix { };
mdds_0_7_1 = callPackage ../development/libraries/mdds/0.7.1.nix { };
mdds_0_12_1 = callPackage ../development/libraries/mdds/0.12.1.nix { };