7431365662
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/wolfssl/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - found 3.15.0 in filename of file in /nix/store/gx03mc7m4r07ybly7san7xk3v17pm264-wolfssl-3.15.0 - directory tree listing: https://gist.github.com/79fbf246bbacf1d8014bee57d274625a - du listing: https://gist.github.com/1f19919b71d52208a236a55cf066a003
33 lines
878 B
Nix
33 lines
878 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "wolfssl-${version}";
|
|
version = "3.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wolfSSL";
|
|
repo = "wolfssl";
|
|
rev = "v${version}-stable";
|
|
sha256 = "1jqhq0dl2zxks7dm6g3dm1zvrl646ab073kgg8ypv19nkd5cvbdv";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "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/";
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ mcmtroffaes ];
|
|
};
|
|
}
|