1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/development/libraries/nspr/default.nix
Eelco Dolstra 7bc7db74fb * NSPR updated to 4.9.
svn path=/nixpkgs/trunk/; revision=33318
2012-03-20 23:55:22 +00:00

27 lines
691 B
Nix

{ stdenv, fetchurl }:
let version = "4.9"; in
stdenv.mkDerivation {
name = "nspr-${version}";
src = fetchurl {
url = "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
sha1 = "57a6bb09ccb90d14303c3d9a6ec2592d8a5c0752";
};
preConfigure = "cd mozilla/nsprpub";
configureFlags = "--enable-optimize --disable-debug ${if stdenv.is64bit then "--enable-64bit" else ""}";
postInstall =
''
find $out -name "*.a" | xargs rm
'';
meta = {
homepage = http://www.mozilla.org/projects/nspr/;
description = "Netscape Portable Runtime, a platform-neutral API for system-level and libc-like functions";
};
}