mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 05:53:50 +00:00
29fc3496d8
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"
33 lines
878 B
Nix
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 ];
|
|
};
|
|
}
|