mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
wolfssl: 3.9.0 -> 3.9.6, split package
This commit is contained in:
parent
9c5588e99f
commit
c227201955
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user