2008-03-02 20:19:34 +01:00
|
|
|
args: with args;
|
|
|
|
let
|
|
|
|
|
|
|
|
srcA=
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz;
|
2009-05-09 19:00:53 +02:00
|
|
|
sha256 = "12hgizg25fzmk10wjl0c88x97h3pg5r9ga122s3y28wixz6x2bvh";
|
2008-03-02 20:19:34 +01:00
|
|
|
};
|
|
|
|
srcB=
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-asian.tar.gz;
|
2009-05-09 19:00:53 +02:00
|
|
|
sha256 = "0ibjy4xpz5j373hsdr8bx99czfpclqmviwwv768j8n7z12z3wa51";
|
2008-03-02 20:19:34 +01:00
|
|
|
};
|
|
|
|
srcC=
|
|
|
|
fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-75dpi100dpi.tar.gz;
|
|
|
|
sha256 = "08vqr8yb636xa1s28vf3pm22dzkia0gisvsi2svqjqh4kk290pzh";
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
wrapFonts (stdenv.mkDerivation {
|
|
|
|
|
|
|
|
name = "ucs-fonts";
|
|
|
|
phases = ["installPhase"];
|
|
|
|
installPhase = ''
|
|
|
|
tar xf ${srcA}
|
|
|
|
tar xf ${srcB}
|
|
|
|
tar xf ${srcC}
|
|
|
|
mkdir -p $out/share/fonts/ucs-fonts
|
|
|
|
cp *.bdf $out/share/fonts/ucs-fonts
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "Unicode bitmap fonts";
|
2008-03-02 20:19:34 +01:00
|
|
|
src = [srcA srcB srcC];
|
|
|
|
};
|
|
|
|
})
|
|
|
|
|