c9362d595e
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.3 in filename of file in /nix/store/64hjsmi2gzinf6qn0dfs16c3zzi4rfpx-wolfssl-3.15.3 - directory tree listing: https://gist.github.com/f48303498f02ef2dc587368e1b17a323 - du listing: https://gist.github.com/db2ab599e28e35132df0568d69c7f4c8
33 lines
878 B
Nix
33 lines
878 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "wolfssl-${version}";
|
|
version = "3.15.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wolfSSL";
|
|
repo = "wolfssl";
|
|
rev = "v${version}-stable";
|
|
sha256 = "00mpq1z8j37a873dbk9knb835m3qlwqnd1rslirqkc44hpz1i64j";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|