wolfssl: 3.9.0 -> 3.9.6, split package

This commit is contained in:
Matthias C. M. Troffaes 2016-06-21 10:08:28 +01:00
parent 9c5588e99f
commit c227201955

View File

@ -2,17 +2,27 @@
stdenv.mkDerivation rec {
name = "wolfssl-${version}";
version = "3.9.0";
version = "3.9.6";
src = fetchFromGitHub {
owner = "wolfSSL";
repo = "wolfssl";
rev = "v${version}";
sha256 = "0j4la9936jcy2fam1x5wplbslqa4zjnrk4wyipkbwz9m8cxg0n6v";
sha256 = "19k3pqd567jfxyps4i6mk7sblwzaj1rixmsdwscw63pdgcgf260g";
};
outputs = [ "dev" "out" "doc" "lib" ];
nativeBuildInputs = [ autoreconfHook ];
postInstall = ''
# fix recursive cycle:
# wolfssl-config points to dev, dev propagates bin
moveToOutput bin/wolfssl-config "$dev"
# moveToOutput also removes "$out" so recreate it
mkdir -p "$out"
'';
meta = with stdenv.lib; {
description = "A small, fast, portable implementation of TLS/SSL for embedded devices";
homepage = "https://www.wolfssl.com/";