diff options
author | Alexander Tsamutali <astsmtl@yandex.ru> | 2010-02-06 22:28:39 +0000 |
---|---|---|
committer | Alexander Tsamutali <astsmtl@yandex.ru> | 2010-02-06 22:28:39 +0000 |
commit | df30fb33c41953223f26478bcc967f9f8ecba5eb (patch) | |
tree | 94ebbe7b17284f5f523837d82ef927219f3f29f1 /pkgs/data | |
parent | a1be21e057165cc04c72145b8df9c8c6754df5cc (diff) |
data/fonts/terminus-font: New nixpkg.
svn path=/nixpkgs/trunk/; revision=19855
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/terminus-font/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/data/fonts/terminus-font/default.nix b/pkgs/data/fonts/terminus-font/default.nix new file mode 100644 index 0000000000000..6ef03ca2dca72 --- /dev/null +++ b/pkgs/data/fonts/terminus-font/default.nix @@ -0,0 +1,41 @@ +{ fetchurl, stdenv, perl, bdftopcf, mkfontdir, mkfontscale }: +stdenv.mkDerivation rec { + name = "terminus-font-4.30"; + src = fetchurl { + url = "http://www.is-vn.bg/hamster/${name}.tar.gz"; + sha256 = "ca15718f715f1ca7af827a8ab5543b0c0339b2515f39f8c15f241b2bc1a15a9a"; + }; + buildInputs = [ perl bdftopcf mkfontdir mkfontscale ]; + patchPhase = '' + substituteInPlace Makefile --replace 'fc-cache' '#fc-cache' + ''; + configurePhase = '' + ./configure --prefix=$out + ''; + buildPhase = '' + make pcf + ''; + installPhase = '' + make install-pcf + make fontdir + ''; + meta = { + 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/; + license = [ "GPLv2+" ]; + maintainers = with stdenv.lib.maintainers; [ astsmtl ]; + platforms = with stdenv.lib.platforms; linux; + }; +} |