mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
terminus-font: update to 4.38
This commit is contained in:
parent
9b609beec1
commit
0d18b8169e
@ -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
|
||||
'';
|
||||
buildPhase = ''
|
||||
make pcf
|
||||
sh ./configure --prefix=$out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install-pcf
|
||||
make fontdir
|
||||
make install fontdir
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A clean fixed width font";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user