2010-07-29 20:55:16 +02:00
|
|
|
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "clearlyU-12-1.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.math.nmsu.edu/~mleisher/Software/cu/cu12-1.9.tgz;
|
|
|
|
sha256 = "1xn14jbv3m1khy7ydvad9ydkn7yygdbhjy9wm1v000jzjwr3lv21";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mkfontdir mkfontscale ];
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
ensureDir $out/share/fonts
|
|
|
|
cp *.bdf $out/share/fonts
|
|
|
|
cd $out/share/fonts
|
|
|
|
mkfontdir
|
|
|
|
mkfontscale
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Unicode font";
|
|
|
|
};
|
2008-03-02 19:39:33 +01:00
|
|
|
}
|