1{ stdenv, fetchurl, autoconf, automake, libtool }:
2
3stdenv.mkDerivation rec {
4 name = "wolfssl-${version}";
5 version = "3.7.0";
6
7 src = fetchurl {
8 url = "https://github.com/wolfSSL/wolfssl/archive/v${version}.tar.gz";
9 sha256 = "1r1awivral4xjjvnna9lrfz2rh84rcbp04834rymbsz0kbyykgb6";
10 };
11
12 nativeBuildInputs = [ autoconf automake libtool ];
13
14 preConfigure = ''
15 ./autogen.sh
16 '';
17
18 meta = with stdenv.lib; {
19 description = "A small, fast, portable implementation of TLS/SSL for embedded devices";
20 homepage = "https://www.wolfssl.com/";
21 platforms = platforms.all;
22 maintainers = with maintainers; [ mcmtroffaes ];
23 };
24}