Merge pull request #1289 from iyzsong/terminus-font

terminus-font: update to 4.38
This commit is contained in:
Michael Raskin 2013-11-28 02:52:12 -08:00
commit e17df71e2b

View File

@ -1,26 +1,27 @@
{ fetchurl, stdenv, perl, bdftopcf, mkfontdir, mkfontscale }:
{ stdenv, fetchurl, perl, bdftopcf, mkfontdir, mkfontscale }:
stdenv.mkDerivation rec {
name = "terminus-font-4.30";
name = "terminus-font-4.38";
src = fetchurl {
# urls = "http://www.is-vn.bg/hamster/${name}.tar.gz"
# sha256 = "ca15718f715f1ca7af827a8ab5543b0c0339b2515f39f8c15f241b2bc1a15a9a";
url = "http://ftp.de.debian.org/debian/pool/main/x/xfonts-terminus/xfonts-terminus_4.30.orig.tar.gz";
sha256 = "d7f1253d75f0aa278b0bbf457d15927ed3bbf2565b9f6b829c2b2560fedc1712";
url = "mirror://sourceforge/project/terminus-font/${name}/${name}.tar.gz";
sha256 = "1dwpxmg0wiyhp7hh18mvw18gnf0y2jgbn80c4xya7rmb9mm8gx7n";
};
buildInputs = [ perl bdftopcf mkfontdir mkfontscale ];
patchPhase = ''
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
'';
configurePhase = ''
./configure --prefix=$out
sh ./configure --prefix=$out
'';
buildPhase = ''
make pcf
'';
installPhase = ''
make install-pcf
make fontdir
installPhase = ''
make install fontdir
'';
meta = {
description = "A clean fixed width font";
longDescription = ''