mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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.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 {
|
||||
url = "mirror://sourceforge/project/terminus-font/${name}/${name}.tar.gz";
|
||||
sha256 = "1kavqw38aarz0vpwz4b7l6l8xkyc5096zaf9ypqnvdwraqz46aaf";
|
||||
url = "mirror://sourceforge/project/${pname}/${name}/${name}.tar.gz";
|
||||
sha256 = "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
|
||||
nativeBuildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile --replace 'fc-cache' '#fc-cache'
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
sh ./configure --prefix=$out
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
make install fontdir
|
||||
'';
|
||||
installTargets = [ "install" "fontdir" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A clean fixed width font";
|
||||
@ -36,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
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/;
|
||||
homepage = http://terminus-font.sourceforge.net/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ astsmtl ];
|
||||
platforms = platforms.linux;
|
||||
|
Loading…
Reference in New Issue
Block a user