nixpkgs/pkgs/development/libraries/openssl/default.nix

24 lines
550 B
Nix
Raw Normal View History

{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";
patches = if stdenv.system == "i686-darwin" then [ ./darwin-arch.patch ] else [];
meta = {
homepage = http://www.openssl.org/;
description = "A cryptographic library that implements the SSL and TLS protocols";
};
}