1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/mbedtls/default.nix
2016-07-10 10:26:14 +02:00

35 lines
686 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
name = "mbedtls-2.3.0";
src = fetchurl {
url = "https://tls.mbed.org/download/${name}-gpl.tgz";
sha256 = "0jfb20crlcp67shp9p8cy6vmwdjkxb0rqfbi5l5yggbrywa708r1";
};
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 ];
};
}