nixpkgs/pkgs/development/libraries/icu/default.nix
Yury G. Kudryashov c30b4494fa Upgrade icu4c
svn path=/nixpkgs/trunk/; revision=23957
2010-09-26 19:40:36 +00:00

29 lines
688 B
Nix

{stdenv, fetchurl}:
let
pname = "icu4c";
version = "4.4.1";
in
stdenv.mkDerivation {
name = pname + "-" + version;
src = fetchurl {
url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-"
+ (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz";
sha256 = "0qrhf9gsj38saxfzpzvlwp1jwdsxr06npdds5dbsc86shg0lz69l";
};
postUnpack = "
sourceRoot=\${sourceRoot}/source
echo Source root reset to \${sourceRoot}
";
configureFlags = "--disable-debug";
meta = {
description = "Unicode and globalization support library";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.all;
};
}