diff options
author | Austin Seipp <aseipp@pobox.com> | 2014-08-20 01:23:40 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-08-20 01:23:40 -0500 |
commit | 8b96a44460d596b6bf5a994cdc17888cd950cf1a (patch) | |
tree | a8f810cfde35512536ef18a3bae2cfde79dd5f64 /pkgs/development/libraries/boringssl | |
parent | 528a1c0f560eab8496b10b9a93601455299aaec3 (diff) |
nixpkgs: boringssl 20140820-a7d1363f
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/libraries/boringssl')
-rw-r--r-- | pkgs/development/libraries/boringssl/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/boringssl/default.nix b/pkgs/development/libraries/boringssl/default.nix new file mode 100644 index 0000000000000..a4ea804b7762f --- /dev/null +++ b/pkgs/development/libraries/boringssl/default.nix @@ -0,0 +1,30 @@ +{ 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 ]; + }; +} |