about summary refs log tree commit diff
path: root/pkgs/development/libraries/openssl/default.nix
blob: 61fa64141d614bc4c191fd870db03680156cadb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{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 {}))