2017-07-12 13:39:34 +02:00
|
|
|
{ stdenv, fetchurl, python3, bdftopcf, mkfontdir, mkfontscale }:
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2010-02-06 23:28:39 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-07-12 13:39:34 +02:00
|
|
|
name = "terminus-font-4.46";
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2010-02-06 23:28:39 +01:00
|
|
|
src = fetchurl {
|
2013-11-28 03:37:45 +01:00
|
|
|
url = "mirror://sourceforge/project/terminus-font/${name}/${name}.tar.gz";
|
2017-07-12 13:39:34 +02:00
|
|
|
sha256 = "1kavqw38aarz0vpwz4b7l6l8xkyc5096zaf9ypqnvdwraqz46aaf";
|
2010-02-06 23:28:39 +01:00
|
|
|
};
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2017-07-12 13:39:34 +02:00
|
|
|
buildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2010-02-06 23:28:39 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
|
|
|
|
'';
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2010-02-06 23:28:39 +01:00
|
|
|
configurePhase = ''
|
2013-11-28 03:37:45 +01:00
|
|
|
sh ./configure --prefix=$out
|
2010-02-06 23:28:39 +01:00
|
|
|
'';
|
2013-11-28 03:37:45 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make install fontdir
|
2010-02-06 23:28:39 +01:00
|
|
|
'';
|
2013-11-28 03:37:45 +01:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-02-06 23:28:39 +01:00
|
|
|
description = "A clean fixed width font";
|
|
|
|
longDescription = ''
|
|
|
|
Terminus Font is designed for long (8 and more hours per day) work
|
|
|
|
with computers. Version 4.30 contains 850 characters, covers about
|
|
|
|
120 language sets and supports ISO8859-1/2/5/7/9/13/15/16,
|
|
|
|
Paratype-PT154/PT254, KOI8-R/U/E/F, Esperanto, many IBM, Windows and
|
|
|
|
Macintosh code pages, as well as the IBM VGA, vt100 and xterm
|
|
|
|
pseudographic characters.
|
|
|
|
|
|
|
|
The sizes present are 6x12, 8x14, 8x16, 10x20, 11x22, 12x24, 14x28 and
|
|
|
|
16x32. The styles are normal and bold (except for 6x12), plus
|
|
|
|
EGA/VGA-bold for 8x14 and 8x16.
|
|
|
|
'';
|
|
|
|
homepage = http://www.is-vn.bg/hamster/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2015-05-27 21:56:04 +02:00
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2010-02-06 23:28:39 +01:00
|
|
|
};
|
|
|
|
}
|