nixpkgs/pkgs/development/libraries/boringssl/default.nix
Austin Seipp 8b96a44460 nixpkgs: boringssl 20140820-a7d1363f
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-08-20 01:23:40 -05:00

31 lines
815 B
Nix

{ stdenv, fetchgit, cmake, perl }:
stdenv.mkDerivation rec {
name = "boringssl-${version}";
version = "20140820-a7d1363f";
src = fetchgit {
url = "https://boringssl.googlesource.com/boringssl";
rev = "a7d1363fcb1f0d825ec2393c06be3d58b0c57efd";
sha256 = "d27dd1416de1a2ea4ec2c219248b2ed2cce5c0405e56adb394077ddc7c319bab";
};
buildInputs = [ cmake perl ];
enableParallelBuilding = true;
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 ];
};
}