at 18.03-beta 39 lines 929 B view raw
1{ stdenv, fetchurl }: 2 3let 4 5 generic = { version, sha256 }: stdenv.mkDerivation rec { 6 name = "libressl-${version}"; 7 inherit version; 8 9 src = fetchurl { 10 url = "mirror://openbsd/LibreSSL/${name}.tar.gz"; 11 inherit sha256; 12 }; 13 14 enableParallelBuilding = true; 15 16 outputs = [ "bin" "dev" "out" "man" ]; 17 18 dontGzipMan = if stdenv.isDarwin then true else null; # not sure what's wrong 19 20 meta = with stdenv.lib; { 21 description = "Free TLS/SSL implementation"; 22 homepage = "http://www.libressl.org"; 23 platforms = platforms.all; 24 maintainers = with maintainers; [ thoughtpolice wkennington fpletz globin ]; 25 }; 26 }; 27 28in { 29 30 libressl_2_5 = generic { 31 version = "2.5.5"; 32 sha256 = "1i77viqy1afvbr392npk9v54k9zhr9zq2vhv6pliza22b0ymwzz5"; 33 }; 34 35 libressl_2_6 = generic { 36 version = "2.6.4"; 37 sha256 = "07yi37a2ghsgj2b4w30q1s4d2inqnix7ika1m21y57p9z71212k3"; 38 }; 39}