nixpkgs/pkgs/development/libraries/wolfssl/default.nix
Ryan Mulligan 29fc3496d8 wolfssl: 3.12.0 -> 3.13.0
Semi-automatic update. These checks were performed:

- built on NixOS
- found 3.13.0 in filename of file in /nix/store/pcakgwgq8k7ad2x10ji9z054z87z1pca-wolfssl-3.13.0

cc "@mcmtroffaes"
2018-02-28 07:10:41 +00:00

33 lines
878 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "wolfssl-${version}";
version = "3.13.0";
src = fetchFromGitHub {
owner = "wolfSSL";
repo = "wolfssl";
rev = "v${version}-stable";
sha256 = "0mvq7ifcpckfrg0zzcxqfbrv08pnz4a8g2z2j3s9h3cwns9ipn6h";
};
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 ];
};
}