nixpkgs/pkgs/development/libraries/openssl/default.nix
Rob Vermaas d8800474f7 x86_64 darwin related changes
svn path=/nixpkgs/trunk/; revision=18665
2009-11-27 10:16:42 +00:00

21 lines
541 B
Nix

{stdenv, fetchurl, perl}:
stdenv.mkDerivation (rec {
name = "openssl-0.9.8k";
src = fetchurl {
url = http://www.openssl.org/source/openssl-0.9.8k.tar.gz;
sha1 = "3ba079f91d3c1ec90a36dcd1d43857165035703f";
};
buildInputs = [perl];
configureScript = "./config";
configureFlags = "shared";
meta = {
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 {}))