3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/icu/default.nix

33 lines
710 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
let
pname = "icu4c";
2013-04-12 00:31:18 +01:00
version = "51.1";
in
stdenv.mkDerivation {
name = pname + "-" + version;
2013-04-12 00:31:18 +01:00
src = fetchurl {
2013-04-12 00:31:18 +01:00
url = http://download.icu-project.org/files/icu4c/51.1/icu4c-51_1-src.tgz;
sha256 = "0sv6hgkm92pm27zgjxgk284lcxxbsl0syi40ckw2b7yj7d8sxrc7";
};
2013-04-12 00:31:18 +01:00
postUnpack = ''
sourceRoot=''${sourceRoot}/source
echo Source root reset to ''${sourceRoot}
'';
configureFlags = "--disable-debug";
2013-04-12 00:31:18 +01:00
enableParallelBuilding = true;
meta = {
description = "Unicode and globalization support library";
homepage = http://site.icu-project.org/;
maintainers = with stdenv.lib.maintainers; [raskin urkud];
platforms = stdenv.lib.platforms.all;
};
}