nixpkgs/pkgs/development/libraries/mbedtls/1.3.nix

35 lines
687 B
Nix
Raw Normal View History

2016-09-05 20:14:04 +00:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
2017-06-19 23:59:14 +00:00
name = "mbedtls-1.3.19";
2016-09-05 20:14:04 +00:00
src = fetchurl {
url = "https://tls.mbed.org/download/${name}-gpl.tgz";
2017-06-19 23:59:14 +00:00
sha256 = "03mhlh8s2378ph23m1173i7wkhrs5i6d03mk5wa7a1d3qn24jrar";
2016-09-05 20:14:04 +00:00
};
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 ];
};
}