Added Mozilla NSS, NSPR and Gaim to Nix. Gaim in Nix supports SSL

svn path=/nixpkgs/trunk/; revision=3676
This commit is contained in:
Martin Bravenboer
2005-08-24 09:54:42 +00:00
parent 49220563df
commit 975db72a72
6 changed files with 79 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
. $stdenv/setup
# This must be the ugliest builder in the Nix Packages
tar zxvf $nsssrc
tar zxvf $nsprsrc
mv nspr-*/mozilla/nsprpub nss-*/mozilla
cd nss-*/mozilla/security/nss
make nss_build_all
make install
mkdir -p $out/lib
mkdir -p $out/include/nspr
find ../../dist/*/lib -type l -name "*.so" -o -name "*.chk" | xargs --replace cp -L {} $out/lib
cp -Lr ../../dist/public/* $out/include
cp -Lr ../../dist/*/include/* $out/include/nspr
@@ -0,0 +1,18 @@
{stdenv, fetchurl, perl, zip}:
stdenv.mkDerivation {
name = "nss-3.10";
builder = ./builder.sh;
nsssrc = fetchurl {
url = ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_10_RTM/src/nss-3.10.tar.gz;
md5 = "f0d75d52aff21f88d9c055bdb78f54f8";
};
nsprsrc = fetchurl {
url = ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6/src/nspr-4.6.tar.gz;
md5 = "a37c3cde875502e05576429312452465";
};
buildInputs = [perl zip];
}