1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/boringssl/default.nix

32 lines
844 B
Nix
Raw Normal View History

2016-03-09 11:26:18 +00:00
{ stdenv, fetchgit, cmake, perl, go }:
stdenv.mkDerivation rec {
name = "boringssl-${version}";
2016-03-09 11:26:18 +00:00
version = "2016-03-08";
src = fetchgit {
url = "https://boringssl.googlesource.com/boringssl";
2016-03-09 11:26:18 +00:00
rev = "bfb38b1a3c5e37d43188bbd02365a87bebc8d122";
sha256 = "0g9gh915ywawqf1gq7pwkhrhbh79w7si4g34ryml7a6mnmvx8b52";
};
2016-03-09 11:26:18 +00:00
buildInputs = [ cmake perl go ];
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
installPhase = ''
mkdir -p $out/bin $out/include $out/lib
mv tool/bssl $out/bin
mv ssl/libssl.a $out/lib
mv ../include/openssl $out/include
'';
meta = {
description = "Free TLS/SSL implementation";
homepage = "https://boringssl.googlesource.com";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}