NSS: version bump and patch to provide pkgconfig info.

svn path=/nixpkgs/trunk/; revision=25366
This commit is contained in:
Evgeny Egorochkin
2011-01-03 17:02:58 +00:00
parent bfc2a38651
commit 06c543b11d
2 changed files with 257 additions and 3 deletions
+10 -3
View File
@@ -10,18 +10,25 @@ let
in
stdenv.mkDerivation {
name = "nss-3.12.7";
name = "nss-3.12.8";
src = fetchurl {
url = http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_7_RTM/src/nss-3.12.7.tar.gz;
sha256 = "0x5h0r5hn4qzafxakhvqyw1r8r0zy09b7b0kmdh3ff6v29v4bnzx";
url = http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_8_RTM/src/nss-3.12.8.tar.gz;
sha256 = "050c175l5zyzqxcp5fxj4q4n641c3j7w6w6fjg5hk3cyfhlwwy4i";
};
buildInputs = [nspr perl zlib];
patches = [ ./nss-3.12.5-gentoo-fixups.diff ];
# Based on the build instructions at
# http://www.mozilla.org/projects/security/pki/nss/nss-3.11.4/nss-3.11.4-build.html
postPatch = ''
sed -i -e "/^PREFIX =/s:= /usr:= $out:" \
"mozilla/security/nss/config/Makefile"
'';
preConfigure = "cd mozilla/security/nss";
BUILD_OPT = "1";