nixpkgs/pkgs/development/libraries/icu/default.nix
Yury G. Kudryashov 08be43d6f0 homepages
svn path=/nixpkgs/trunk/; revision=23971
2010-09-27 18:15:33 +00:00

31 lines
733 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";
homepage = http://site.icu-project.org/;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.all;
};
}