2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, wrapFonts }:
|
|
|
|
|
2008-03-02 19:19:34 +00:00
|
|
|
let
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
srcA = fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts.tar.gz;
|
|
|
|
sha256 = "12hgizg25fzmk10wjl0c88x97h3pg5r9ga122s3y28wixz6x2bvh";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcB = fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-asian.tar.gz;
|
|
|
|
sha256 = "0ibjy4xpz5j373hsdr8bx99czfpclqmviwwv768j8n7z12z3wa51";
|
|
|
|
};
|
|
|
|
|
|
|
|
srcC = fetchurl {
|
|
|
|
url = http://www.cl.cam.ac.uk/~mgk25/download/ucs-fonts-75dpi100dpi.tar.gz;
|
|
|
|
sha256 = "08vqr8yb636xa1s28vf3pm22dzkia0gisvsi2svqjqh4kk290pzh";
|
|
|
|
};
|
2008-03-02 19:19:34 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
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
|
|
|
|
'';
|
2008-03-02 19:19:34 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
meta = {
|
|
|
|
description = "Unicode bitmap fonts";
|
2014-11-05 08:12:35 +00:00
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2010-07-28 12:55:54 +01:00
|
|
|
};
|
2008-03-02 19:19:34 +00:00
|
|
|
})
|