Merge pull request #53238 from dtzWill/update/terminus-font-4.47
terminus-font: 4.46 -> 4.47
This commit is contained in:
commit
5373cb26ef
@ -1,26 +1,24 @@
|
|||||||
{ stdenv, fetchurl, python3, bdftopcf, mkfontdir, mkfontscale }:
|
{ stdenv, fetchurl, python3, bdftopcf, mkfontdir, mkfontscale }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "terminus-font-4.46";
|
pname = "terminus-font";
|
||||||
|
version = "4.47";
|
||||||
|
name = "${pname}-${version}"; # set here for use in URL below
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/terminus-font/${name}/${name}.tar.gz";
|
url = "mirror://sourceforge/project/${pname}/${name}/${name}.tar.gz";
|
||||||
sha256 = "1kavqw38aarz0vpwz4b7l6l8xkyc5096zaf9ypqnvdwraqz46aaf";
|
sha256 = "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
|
nativeBuildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
|
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
enableParallelBuilding = true;
|
||||||
sh ./configure --prefix=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installTargets = [ "install" "fontdir" ];
|
||||||
make install fontdir
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A clean fixed width font";
|
description = "A clean fixed width font";
|
||||||
@ -36,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
16x32. The styles are normal and bold (except for 6x12), plus
|
16x32. The styles are normal and bold (except for 6x12), plus
|
||||||
EGA/VGA-bold for 8x14 and 8x16.
|
EGA/VGA-bold for 8x14 and 8x16.
|
||||||
'';
|
'';
|
||||||
homepage = http://www.is-vn.bg/hamster/;
|
homepage = http://terminus-font.sourceforge.net/;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ astsmtl ];
|
maintainers = with maintainers; [ astsmtl ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
Loading…
Reference in New Issue
Block a user