nixpkgs/pkgs/development/libraries/openssl-0.9.8/default.nix
Eelco Dolstra fbf526d408 * Use stdenv.isDarwin.
svn path=/nixpkgs/trunk/; revision=5728
2006-07-17 11:07:32 +00:00

13 lines
445 B
Nix

{stdenv, fetchurl, perl}: stdenv.mkDerivation {
name = "openssl-0.9.8";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/openssl-0.9.8.tar.gz;
md5 = "9da21071596a124acde6080552deac16";
};
buildInputs = [perl];
# Quick fix for a Makefile bug in openssl-0.9.8 (`make install'
# tries to copy .so files, instead of .dylib files).
patches = if stdenv.isDarwin then [./dylib.patch] else [];
}