From d06a183365d6a0a6ec78856bdb9a86bf6999190f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 18 Jul 2010 21:54:14 +0000 Subject: [PATCH] * OpenSSL updated to 1.0.0a. svn path=/nixpkgs/branches/x-updates/; revision=22639 --- pkgs/development/libraries/openssl/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 4e567cf6577..13204f59992 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -6,14 +6,16 @@ let stdenv.cross; in -stdenv.mkDerivation ( rec { - name = "openssl-0.9.8n"; - +stdenv.mkDerivation rec { + name = "openssl-1.0.0a"; + src = fetchurl { url = "http://www.openssl.org/source/${name}.tar.gz"; - sha256 = "008z1h09pa6dfxs4wgbqj5i1clw4v82b1waqvwanb1kb6wlbq6mh"; + sha256 = "0qqgyzfb0alwx329z8bqybzamfl9j2maykykvq6zk3ibq0gvva8q"; }; + patches = stdenv.lib.optional stdenv.isDarwin ./darwin-arch.patch; + buildNativeInputs = [ perl ]; configureScript = "./config"; @@ -36,4 +38,4 @@ stdenv.mkDerivation ( rec { homepage = http://www.openssl.org/; description = "A cryptographic library that implements the SSL and TLS protocols"; }; -} // (if stdenv.isDarwin then { patches = [./darwin-arch.patch]; } else {}) ) +}