data/fonts: cleanup

* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
This commit is contained in:
volth 2019-05-13 01:55:32 +00:00
parent 1df1834dd1
commit c9eb44eab3
177 changed files with 789 additions and 929 deletions

View File

@ -1,24 +1,21 @@
{ stdenv, fetchurl }:
{ lib, fetchurl }:
stdenv.mkDerivation rec {
let
pname = "agave";
version = "009";
in fetchurl {
name = "${pname}-${version}";
url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
src = fetchurl {
url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
sha256 = "05766gp2glm1p2vknk1nncxigq28hg8s58kjwsbn8zpwy8ivywpk";
};
sourceRoot = ".";
unpackPhase = ":";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp $src $out/share/fonts/truetype/
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -D $downloadedFile $out/share/fonts/truetype/agave-r.ttf
'';
meta = with stdenv.lib; {
sha256 = "16qvz3zpwiq2nw0gxygva5pssswcia5xp0q6ir5jfkackvqf3fql";
meta = with lib; {
description = "truetype monospaced typeface designed for X environments";
homepage = https://b.agaric.net/page/agave;
license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
majorVersion = "0";
@ -17,7 +17,7 @@ fetchzip rec {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://dotcolon.net/font/${pname}/";
description = "A helvetica font in nine weights";
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.0.2";
@ -17,7 +17,7 @@ in fetchzip {
# There are multiple claims that the font is GPL, so I include the
# package; but I cannot find the original source, so use it on your
# own risk Debian claims it is GPL - good enough for me.
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://www.i18nguy.com/unicode/unicode-font.html;
description = "Unicode Plane 1 Osmanya script font";
maintainers = with maintainers; [ raskin rycee ];

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "5.000";
@ -16,7 +16,7 @@ in
sha256 = "1jy9vpcprpd1k48p20wh6jhyn909ibia8lr5i747p41l0s8a7lqy";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://software.sil.org/andika;
description = "A family designed especially for literacy use taking into account the needs of beginning readers";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let version = "1.100"; in
fetchzip rec {
@ -13,7 +13,7 @@ fetchzip rec {
sha256 = "0i80zpr2y9368rg2i6x8jv0g7d03kdyr5h7w9yz7pjd7i9xd8439";
meta = with stdenv.lib; {
meta = with lib; {
description = "Anka/Coder Condensed font";
homepage = https://code.google.com/archive/p/anka-coder-fonts;
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let version = "1.100"; in
fetchzip rec {
@ -13,7 +13,7 @@ fetchzip rec {
sha256 = "1jqx9micfmiarqh9xp330gl96v3vxbwzz9cmg2vi845n9md4im85";
meta = with stdenv.lib; {
meta = with lib; {
description = "Anka/Coder fonts";
homepage = https://code.google.com/archive/p/anka-coder-fonts;
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.002";
@ -13,7 +13,7 @@ in fetchzip rec {
'';
sha256 = "05rgzag38qc77b31sm5i2vwwrxbrvwzfsqh3slv11skx36pz337f";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://www.marksimonson.com/fonts/view/anonymous-pro;
description = "TrueType font set intended for source code";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, fetchurl }:
let
version = "2.04";
@ -21,6 +21,5 @@ in fetchurl {
meta = {
description = "Font, metrically identical to Arial and Times New Roman";
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip, mkfontscale, mkfontdir }:
{ lib, fetchzip, mkfontscale, mkfontdir }:
let
version = "0.2.20080216.2";
@ -18,7 +18,7 @@ in {
sha256 = "0xi5ycm7ydzpn7cqxv1kcj9vd70nr9wn8v27hmibyjc25y2qdmzl";
meta = with stdenv.lib; {
meta = with lib; {
description = "CJK Unicode font Kai style";
homepage = https://www.freedesktop.org/wiki/Software/CJKUnifonts/;
@ -43,7 +43,7 @@ in {
sha256 = "16jybvj1cxamm682caj6nsm6l5c60x9mgchp1l2izrw2rvc8x38d";
meta = with stdenv.lib; {
meta = with lib; {
description = "CJK Unicode font Ming style";
homepage = https://www.freedesktop.org/wiki/Software/CJKUnifonts/;

View File

@ -1,12 +1,13 @@
{stdenv, fetchzip}:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "aurulent-sans-0.1";
url = "https://github.com/deepfire/hartke-aurulent-sans/archive/${name}.zip";
owner = "deepfire";
repo = "hartke-aurulent-sans";
rev = name;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
tar xf $downloadedFile -C $out/share/fonts --strip=1
'';
sha256 = "1l60psfv9x0x9qx9vp1qnhmck7a7kks385m5ycrd3d91irz1j5li";
@ -14,8 +15,8 @@ fetchzip rec {
description = "Aurulent Sans";
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
homepage = http://delubrum.org/;
maintainers = with stdenv.lib.maintainers; [ deepfire ];
license = stdenv.lib.licenses.ofl;
platforms = stdenv.lib.platforms.all;
maintainers = with lib.maintainers; [ deepfire ];
license = lib.licenses.ofl;
platforms = lib.platforms.all;
};
}

View File

@ -1,20 +1,21 @@
{ stdenv, fetchzip, lib }:
{ lib, fetchFromGitHub }:
let
version = "1.008";
pname = "b612";
in
fetchzip rec {
in fetchFromGitHub {
name = "${pname}-font-${version}";
url = "https://github.com/polarsys/b612/archive/${version}.zip";
sha256 = "0r3lana1q9w3siv8czb3p9rrb5d9svp628yfbvvmnj7qvjrmfsiq";
owner = "polarsys";
repo = "b612";
rev = version;
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/truetype/${pname}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/${pname}
cp fonts/ttf/*.ttf $out/share/fonts/truetype/${pname}
'';
sha256 = "0r3lana1q9w3siv8czb3p9rrb5d9svp628yfbvvmnj7qvjrmfsiq";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://b612-font.com/;
description = "Highly legible font family for use on aircraft cockpit screens";
longDescription = ''

View File

@ -1,7 +1,7 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "11.0.3";
version = "12.1.4";
in fetchzip {
name = "babelstone-han-${version}";
@ -10,9 +10,9 @@ in fetchzip {
mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype
'';
sha256 = "0c8s21kllyilwivrb8gywq818y67w3zpann34hz36vy0wyiswn1c";
sha256 = "1fypwk2i87jfrckvxg9wz4x84z7c6ifgzrjb8fylhac50lzi6kni";
meta = with stdenv.lib; {
meta = with lib; {
description = "Unicode CJK font with over 36000 Han characters";
homepage = http://www.babelstone.co.uk/Fonts/Han.html;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip rec {
name = "baekmuk-ttf-2.2";
@ -6,9 +6,8 @@ fetchzip rec {
url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz";
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts $out/share/doc/${name}
cp ttf/*.ttf $out/share/fonts
cp COPYRIGHT* $out/share/doc/${name}
install -m444 -Dt $out/share/fonts ttf/*.ttf
install -m444 -Dt $out/share/doc/${name} COPYRIGHT*
'';
sha256 = "1jgsvack1l14q8lbcv4qhgbswi30mf045k37rl772hzcmx0r206g";
@ -16,7 +15,6 @@ fetchzip rec {
description = "Korean font";
homepage = http://kldp.net/projects/baekmuk/;
license = "BSD-like";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
fetchzip {
name = "bakoma-ttf";
@ -16,6 +16,5 @@ fetchzip {
meta = {
description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
homepage = http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/;
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "behdad-fonts";
version = "0.0.3";
in fetchFromGitHub rec {
name = "${pname}-${version}";
owner = "font-store";
repo = "BehdadFont";
rev = "v${version}";
src = fetchFromGitHub {
owner = "font-store";
repo = "BehdadFont";
rev = "v${version}";
sha256 = "0rlmyv82qmyy90zvkjnlva44ia7dyhiyk7axbq526v7zip3g79w0";
};
installPhase = ''
mkdir -p $out/share/fonts/behdad-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/behdad-fonts
postFetch = ''
tar xf $downloadedFile --strip=1
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/behrad-fonts {} \;
'';
sha256 = "0c57232462cv1jrfn0m2bl7jzcfkacirrdd2qimrc8iqhkz0ajfz";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/font-store/BehdadFont;
description = "A Persian/Arabic Open Source Font";
license = licenses.ofl;

View File

@ -1,19 +1,21 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "cabin-1.005";
url = https://github.com/impallari/Cabin/archive/982839c790e9dc57c343972aa34c51ed3b3677fd.zip;
owner = "impallari";
repo = "Cabin";
rev = "982839c790e9dc57c343972aa34c51ed3b3677fd";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype fonts/OTF/*.otf
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
'';
sha256 = "1ax5c2iab48qsk9zn3gjvqaib2lnlm25f1wr0aysf5ngw0y0jkrd";
sha256 = "1bl7h217m695jn4rbniialfk573aa44fslp2rjxnhkicakpcm44h";
meta = with stdenv.lib; {
meta = with lib; {
description = "A humanist sans with 4 weights and true italics";
longDescription = ''
The Cabin font family is a humanist sans with 4 weights and true italics,

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "20130214";
@ -15,7 +15,7 @@ in fetchzip rec {
'';
sha256 = "0kwm42ggr8kvcn3554cpmv90xzam1sdncx7x3zs3bzp88mxrnv1z";
meta = with stdenv.lib; {
meta = with lib; {
# This font doesn't appear to have any official web site but this
# one provides some good information and samples.
homepage = http://openfontlibrary.org/en/font/caladea;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.0";
@ -8,14 +8,12 @@ in fetchzip rec {
url = https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip;
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/doc/${name}
cp -v fonts/camingo-code/*.ttf $out/share/fonts/truetype/
cp -v fonts/camingo-code/*.txt $out/share/doc/${name}/
install -m444 -Dt $out/share/fonts/truetype fonts/camingo-code/*.ttf
install -m444 -Dt $out/share/doc/${name} fonts/camingo-code/*.txt
'';
sha256 = "035z2k6lwwy2bysw27pirn3vjxnj2h23nyx8jr213rb2bl0m21x1";
sha256 = "16iqjwwa7pnswvcc4w8nglkd0m0fz50qsz96i1kcpqip3nwwvw7y";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://www.myfonts.com/fonts/jan-fromm/camingo-code/;
description = "A monospaced typeface designed for source-code editors";
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "20130920";
@ -17,7 +17,7 @@ in fetchzip rec {
sha256 = "0d72zy6kdmxgpi63r3yvi3jh1hb7lvlgv8hgd4ag0x10dz18mbzv";
meta = with stdenv.lib; {
meta = with lib; {
# This font doesn't appear to have any official web site but this
# one provides some good information and samples.
homepage = http://openfontlibrary.org/en/font/carlito;

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "5.000";
@ -16,7 +16,7 @@ in
sha256 = "1a220s8n0flvcdkazqf5g10v6r55s2an308slvvarynpj6l7x27n";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://software.sil.org/charis;
description = "A family of highly readable fonts for broad multilingual use";
longDescription = ''

View File

@ -7,18 +7,17 @@ stdenv.mkDerivation {
url = https://www.math.nmsu.edu/~mleisher/Software/cu/cu12-1.9.tgz;
sha256 = "1xn14jbv3m1khy7ydvad9ydkn7yygdbhjy9wm1v000jzjwr3lv21";
};
nativeBuildInputs = [ mkfontdir mkfontscale ];
installPhase =
''
mkdir -p $out/share/fonts
cp *.bdf $out/share/fonts
cd $out/share/fonts
mkfontdir
mkfontscale
'';
installPhase = ''
mkdir -p $out/share/fonts
cp *.bdf $out/share/fonts
cd $out/share/fonts
mkfontdir
mkfontscale
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "127zrg65s90ksj99kr9hxny40rbxvpai62mf5nqk853hcd1bzpr6";
@ -26,6 +25,5 @@ stdenv.mkDerivation {
meta = {
description = "A Unicode font";
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "0.7.0";
@ -9,15 +9,13 @@ in fetchzip rec {
postFetch = ''
tar -xJvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/opentype
mkdir -p $out/share/doc/${name}
cp -v *.otf $out/share/fonts/opentype/
cp -v README FontLog.txt $out/share/doc/${name}
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/doc/${name} README FontLog.txt
'';
sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://canopus.iacp.dvo.ru/~panov/cm-unicode/;
description = "Computer Modern Unicode fonts";
maintainers = with maintainers; [ raskin rycee ];

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "3.001";
@ -8,13 +8,12 @@ in fetchzip rec {
url = "https://orig00.deviantart.net/40a3/f/2017/093/d/4/comfortaa___font_by_aajohan-d1qr019.zip";
postFetch = ''
mkdir -p $out/share/fonts $out/share/doc
unzip -l $downloadedFile
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*/FONTLOG.txt \*/donate.html -d $out/share/doc/${name}
'';
sha256 = "0z7xr0cnn6ghwivrm5b5awq9bzhnay3y99qq6dkdgfkfdsaz0n9h";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://aajohan.deviantart.com/art/Comfortaa-font-105395949;
description = "A clean and modern font suitable for headings and logos";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "2.2";
@ -19,7 +19,7 @@ in fetchzip rec {
sha256 = "1yypq5aqqzv3q1c6vx5130mi2iwihzzvrawhwqpwsfjl0p25sq9q";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://comicneue.com/;
description = "A casual type face: Make your lemonade stand look like a fortune 500 company";
longDescription = ''

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "1.1";
@ -18,7 +18,7 @@ in fetchzip rec {
sha256 = "0dz0y7w6mq4hcmmxv6fn4mp6jkln9mzr4s96vsg68wrl5b7k9yff";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://loudifier.com/comic-relief/;
description = "A font metric-compatible with Microsoft Comic Sans";
longDescription = ''

View File

@ -1,6 +1,6 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip rec {
fetchzip {
name = "cooper-hewitt-2014-06-09";
url = https://www.cooperhewitt.org/wp-content/uploads/fonts/CooperHewitt-OTF-public.zip;
@ -12,7 +12,7 @@ fetchzip rec {
sha256 = "01iwqmjvqkc6fmc2r0486vk06s6f51n9wxzl1pf9z48n0igj4gqd";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://www.cooperhewitt.org/open-source-at-cooper-hewitt/cooper-hewitt-the-typeface-by-chester-jenkins/;
description = "A contemporary sans serif, with characters composed of modified-geometric curves and arches";
license = licenses.ofl;

View File

@ -41,12 +41,10 @@ stdenv.mkDerivation {
cabextract --lowercase viewer1.cab
fontDir=$out/share/fonts/truetype
mkdir -p $fontDir
cp *.ttf $fontDir
install -m444 -Dt $out/share/fonts/truetype *.ttf
# Also put the EULA there to be on the safe side.
cp ${eula} $fontDir/eula.html
cp ${eula} $out/share/fonts/truetype/eula.html
# Set up no-op font configs to override any aliases set up by
# other packages.

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "2014.10";
@ -9,16 +9,13 @@ in fetchzip rec {
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/opentype
mkdir -p $out/share/doc/${name}
cp -v "Desktop Fonts/OTF/"*.otf $out/share/fonts/opentype
cp -v README.md $out/share/doc/${name}
install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf
install -m444 -Dt $out/share/doc/${name} README.md
'';
sha256 = "0mg65f0ydyfmb43jqr1f34njpd10w8npw15cbb7z0nxmy4nkl842";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://aldusleaf.org/crimson.html;
description = "A font family inspired by beautiful oldstyle typefaces";
license = licenses.ofl;

View File

@ -1,16 +1,12 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "0.133";
in stdenv.mkDerivation {
in fetchzip {
name = "culmus-${version}";
src = fetchzip {
url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz";
sha256 = "0q80j3vixn364sc23hcy6098rkgy0kb4p91lky6224am1dwn2qmr";
};
installPhase = ''
url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz";
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/{truetype,type1}
cp -v *.pfa $out/share/fonts/type1/
cp -v *.afm $out/share/fonts/type1/
@ -19,12 +15,13 @@ in stdenv.mkDerivation {
cp -v *.otf $out/share/fonts/truetype/
cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale
'';
sha256 = "0zqqjcrqmbd4389hqz2dwymkkcxjrq9ylyriiv3gbmzl6l1ffk3g";
meta = {
description = "Culmus Hebrew fonts";
longDescription = "The Culmus project aims at providing the Hebrew-speaking GNU/Linux and Unix community with a basic collection of Hebrew fonts for X Windows.";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
platforms = lib.platforms.all;
license = lib.licenses.gpl2;
homepage = http://culmus.sourceforge.net/;
downloadPage = http://culmus.sourceforge.net/download.html;
};

View File

@ -1,10 +1,10 @@
{ stdenv, fetchzip, unzip }:
{ lib, fetchzip, unzip }:
let
version = "1.3.2";
pname = "d2codingfont";
in fetchzip rec {
in fetchzip {
name = "${pname}-${version}";
url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
@ -15,7 +15,7 @@ in fetchzip rec {
sha256 = "1812r82530wzfki7k9cm35fy6k2lvis7j6w0w8svc784949m1wwj";
meta = with stdenv.lib; {
meta = with lib; {
description = "Monospace font with support for Korean and latin characters";
longDescription = ''
D2Coding is a monospace font developed by a Korean IT Company called Naver.

View File

@ -60,6 +60,5 @@ stdenv.mkDerivation rec {
downloadPage = https://www.donationcoder.com/Software/Jibz/Dina/;
license = licenses.free;
maintainers = [ maintainers.prikhi ];
platforms = platforms.unix;
};
}

View File

@ -5,11 +5,13 @@ let
in fetchzip rec {
name = "dina-font-${version}";
url = "http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip";
# `meta.homepage` has no direct download link
url = "https://github.com/ProgrammingFonts/ProgrammingFonts/archive/b15ef365146be7eef4a46979cfe157c5aeefb7c0.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.bdf -d $out/share/fonts
unzip -j $downloadedFile '*/Dina/*.bdf' -d $out/share/fonts
chmod u-x $out/share/fonts/*
'';
sha256 = "02a6hqbq18sw69npylfskriqhvj1nsk65hjjyd05nl913ycc6jl7";
@ -25,6 +27,5 @@ in fetchzip rec {
downloadPage = https://www.donationcoder.com/Software/Jibz/Dina/;
license = licenses.free;
maintainers = [ maintainers.prikhi ];
platforms = platforms.unix;
};
}

View File

@ -31,6 +31,5 @@ stdenv.mkDerivation rec {
meta = {
description = "Various fonts from the DOSEmu project";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,19 +1,21 @@
{ stdenv, fetchzip}:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "dosis-1.007";
url = https://github.com/impallari/Dosis/archive/12df1e13e58768f20e0d48ff15651b703f9dd9dc.zip;
owner = "impallari";
repo = "Dosis";
rev = "12df1e13e58768f20e0d48ff15651b703f9dd9dc";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
tar xf $downloadedFile --strip=1
find . -name '*.otf' -exec install -m444 -Dt $out/share/fonts/opentype {} \;
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
'';
sha256 = "11a8jmgaly14l7rm3jxkwwv3ngr8fdlkp70nicjk2rg0nny2cvfq";
sha256 = "0vz25w45i8flfvppymr5h83pa2n1r37da20v7691p44018fdsdny";
meta = with stdenv.lib; {
meta = with lib; {
description = "A very simple, rounded, sans serif family";
longDescription = ''
Dosis is a very simple, rounded, sans serif family.

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "5.000";
@ -16,7 +16,7 @@ in
sha256 = "04a9cr7jbw7d8llcj8xsqp9rp8w6gcgbd9sdwvi02kz7jhqa0vad";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://software.sil.org/doulos;
description = "A font that provides complete support for the International Phonetic Alphabet";
longDescription = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "0.016";
@ -15,7 +15,7 @@ in fetchzip rec {
sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://www.georgduffner.at/ebgaramond/;
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
maintainers = with maintainers; [ relrod rycee ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "3.2.0";
@ -14,7 +14,7 @@ in fetchzip {
sha256 = "0ps8q9nkx67ivgn8na4s012360v36jwr0951rsg7j6dyyw9g41jq";
meta = with stdenv.lib; {
meta = with lib; {
description = "Icon fonts for emacs all-the-icons";
longDescription = ''
The emacs package all-the-icons provides icons to improve

View File

@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
description = "Open source emoji set";
homepage = http://emojione.com/;
license = licenses.cc-by-40;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip rec {
name = "encode-sans-1.002";
@ -13,7 +13,7 @@ fetchzip rec {
sha256 = "16mx894zqlwrhnp4rflgayxhxppmsj6k7haxdngajhb30rlwf08p";
meta = with stdenv.lib; {
meta = with lib; {
description = "A versatile sans serif font family";
longDescription = ''
The Encode Sans family is a versatile workhorse. Featuring a huge range of

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
majorVersion = "0";
@ -17,7 +17,7 @@ fetchzip rec {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://dotcolon.net/font/eunomia/;
description = "A futuristic decorative font.";
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
majorVersion = "0";
@ -17,7 +17,7 @@ fetchzip rec {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://dotcolon.net/font/${pname}/";
description = "A weighted decorative font.";
platforms = platforms.all;

View File

@ -1,9 +1,7 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.7.2";
in
fetchzip rec {
@ -19,7 +17,7 @@ fetchzip rec {
sha256 = "1fwvbqfrgb539xybwdawvwa8cg4f215kw905rgl9a6p0iwa1nxqk";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/belluzj/fantasque-sans;
description = "A font family with a great monospaced variant for programmers";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
majorVersion = "0";
@ -17,7 +17,7 @@ fetchzip rec {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://dotcolon.net/font/${pname}/";
description = "A decorative font.";
platforms = platforms.all;

View File

@ -1,18 +1,23 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
fetchzip rec {
name = "fira-4.106";
let
version = "4.106";
in fetchFromGitHub {
name = "fira-${version}";
url = https://github.com/mozilla/Fira/archive/4.106.zip;
owner = "mozilla";
repo = "Fira";
rev = version;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile Fira-4.106/otf/FiraSans\*.otf -d $out/share/fonts/opentype
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/opentype
cp otf/*.otf $out/share/fonts/opentype
'';
sha256 = "0c97nmihcq0ki7ywj8zn048a2bgrszc61lb9p0djfi65ar52jab4";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://mozilla.github.io/Fira/;
description = "Sans-serif font for Firefox OS";
longDescription = ''

View File

@ -1,33 +1,25 @@
{ stdenv, fetchurl } :
let
let
major = "3";
minor = "00";
version = "${major}.${minor}";
in
stdenv.mkDerivation rec {
in fetchurl rec {
name = "fixedsys-excelsior-${version}";
src = fetchurl {
url = http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf;
sha256 = "6ee0f3573bc5e33e93b616ef6282f49bc0e227a31aa753ac76ed2e3f3d02056d";
};
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/share/fonts/truetype/
cp $src $out/share/fonts/truetype/${name}.ttf
urls = [
http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf
https://raw.githubusercontent.com/chrissimpkins/codeface/master/fonts/fixed-sys-excelsior/FSEX300.ttf
http://tarballs.nixos.org/sha256/6ee0f3573bc5e33e93b616ef6282f49bc0e227a31aa753ac76ed2e3f3d02056d
];
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -m444 -D $downloadedFile $out/share/fonts/truetype/${name}.ttf
'';
outputHashMode = "recursive";
sha256 = "32d6f07f1ff08c764357f8478892b2ba5ade23427af99759f34a0ba24bcd2e37";
outputHashAlgo = "sha256";
outputHash = "32d6f07f1ff08c764357f8478892b2ba5ade23427af99759f34a0ba24bcd2e37";
meta = {
description = "Pan-unicode version of Fixedsys, a classic DOS font.";
homepage = http://www.fixedsysexcelsior.com/;

View File

@ -1,20 +1,22 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
let
version = "5.8.2";
in fetchzip rec {
in fetchFromGitHub rec {
name = "font-awesome-${version}";
url = "https://github.com/FortAwesome/Font-Awesome/archive/${version}.zip";
owner = "FortAwesome";
repo = "Font-Awesome";
rev = version;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile "Font-Awesome-${version}/otfs/*.otf" -d $out/share/fonts/opentype
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype otfs/*.otf
'';
sha256 = "1h0qhvkfyfs4579jvrk3gwc7dp4i9s46bkj406b493dvmxxhv986";
meta = with stdenv.lib; {
meta = with lib; {
description = "Font Awesome - OTF font";
longDescription = ''
Font Awesome gives you scalable vector icons that can instantly be customized.

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip
{ lib, fetchzip
, version ? "0.3.5"
, sha256 ? "1gfgl7qimp76q4z0nv55vv57yfs4kscdr329np701k0xnhncwvrk"
}:
@ -14,7 +14,7 @@ fetchzip {
unzip -j $downloadedFile \*.conf -d $out/etc/fonts/conf.d
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/ttuegel/fontconfig-penultimate;
description = "Sensible defaults for Fontconfig";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
fetchzip rec {
name = "freefont-ttf-20120503";
@ -20,8 +20,8 @@ fetchzip rec {
10646/Unicode UCS (Universal Character Set).
'';
homepage = https://www.gnu.org/software/freefont/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = [];
};
}

View File

@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "gandom-fonts";
version = "0.6";
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
repo = "gandom-font";
rev = "v${version}";
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "gandom-font";
rev = "v${version}";
sha256 = "1pdbqhvcsz6aq3qgarhfd05ip0wmh7bxqkmxrwa0kgxsly6zxz9x";
};
installPhase = ''
mkdir -p $out/share/fonts/gandom-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/gandom-fonts
postFetch = ''
tar xf $downloadedFile --strip=1
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/gandom-fonts {} \;
'';
sha256 = "0zsq6s9ziyb5jz0v8aj00dlxd1aly0ibxgszd05dfvykmgz051lc";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/rastikerdar/gandom-font;
description = "A Persian (Farsi) Font - فونت (قلم) فارسی گندم";
license = licenses.ofl;

View File

@ -1,29 +1,16 @@
{stdenv, fetchzip, lib}:
{ fetchzip, lib }:
let
fonts = {
symbola = { version = "9.17"; file = "Symbola.zip"; sha256 = "13z18lxx0py54nns61ihgxacpf1lg9s7g2sbpbnxpllqw7j73iq2";
description = "Basic Latin, Greek, Cyrillic and many Symbol blocks of Unicode"; };
aegyptus = { version = "6.17"; file = "Aegyptus.zip"; sha256 = "19rkf89msqb076qjdfa75pqrx35c3slj64vxw08zqdvyavq7jc79";
description = "Egyptian Hieroglyphs, Coptic, Meroitic"; };
akkadian = { version = "7.17"; file = "AkkadianAssyrian.zip"; sha256 = "1xw2flrwb5r89sk7jd195v3svsb21brf1li2i3pdjcfqxfp5m0g7";
description = "Sumero-Akkadian Cuneiform"; };
anatolian = { version = "5.17"; file = "Anatolian.zip"; sha256 = "0dqcyjakc4fy076pjplm6psl8drpwxiwyq97xrf6a3qa098gc0qc";
description = "Anatolian Hieroglyphs"; };
maya = { version = "4.17"; file = "Maya.zip"; sha256 = "17s5c23wpqrcq5h6pgssbmzxiv4jvhdh2ssr99j9q6j32a51h9gh";
description = "Maya Hieroglyphs"; };
unidings = { version = "9.17"; file = "Unidings.zip"; sha256 = "0nzw8mrhk0hbjnl2cgi31b00vmi785win86kiz9d2yzdfz1is6sk";
description = "Glyphs and Icons for blocks of The Unicode Standard"; };
musica = { version = "3.17"; file = "Musica.zip"; sha256 = "0mnv61dxzs2npvxgs5l9q81q19xzzi1sn53x5qwpiirkmi6bg5y6";
description = "Musical Notation"; };
analecta = { version = "5.17"; file = "Analecta.zip"; sha256 = "13npnfscd9mz6vf89qxxbj383njf53a1smqjh0c1w2lvijgak3aj";
description = "Coptic, Gothic, Deseret"; };
textfonts = { version = "7.17"; file = "TextfontsFonts.zip"; sha256 = "1ggflqnslp81v8pzmzx6iwi2sa38l9bpivjjci7nvx3y5xynm6wl";
description = "Aroania, Anaktoria, Alexander, Avdira and Asea"; };
aegan = { version = "9.17"; file = "AegeanFonts.zip"; sha256 = "0dm2ck3p11bc9izrh7xz3blqfqg1mgsvy4jsgmz9rcs4m74xrhsf";
description = "Aegean"; };
abydos = { version = "1.23"; file = "AbydosFont.zip"; sha256 = "04r7ysnjjq0nrr3m8lbz8ssyx6xaikqybjqxzl3ziywl9h6nxdj8";
description = "AbydosFont"; };
aegan = { version = "10.00"; file = "Aegean.zip"; sha256 = "0k47nhzw4vx771ch3xx8mf6xx5vx0hg0cif5jdlmdaz4h2c3rawz"; description = "Aegean"; };
aegyptus = { version = "8.00"; file = "Aegyptus.zip"; sha256 = "13h2pi641k9vxgqi9l11mjya10ym9ln54wrkwxx6gxq63zy7y5mj"; description = "Egyptian Hieroglyphs, Coptic, Meroitic"; };
akkadian = { version = "7.18"; file = "Akkadian.zip"; sha256 = "1bplcvszbdrk85kqipn9lzhr62647wjibz1p8crzjvsw6f9ymxy3"; description = "Sumero-Akkadian Cuneiform"; };
assyrian = { version = "2.00"; file = "AssyrianFont.zip"; sha256 = "0vdvb24vsnmwzd6bw14akqg0hbvsk8avgnbwk9fkybn1f801475k"; description = "Neo-Assyrian in Unicode with OpenType"; };
eemusic = { version = "2.00"; file = "EEMusic.zip"; sha256 = "1y9jf105a2b689m7hdjmhhr7z5j0qd2w6dmb3iic9bwaczlrjy7j"; description = "Byzantine Musical Notation in Unicode with OpenType"; };
maya = { version = "4.18"; file = "Maya.zip"; sha256 = "08z2ch0z2c43fjfg5m4yp3l1dp0cbk7lv5i7wzsr3cr9kr59wpi9"; description = "Maya Hieroglyphs"; };
symbola = { version = "12.00"; file = "Symbola.zip"; sha256 = "1i3xra33xkj32vxs55xs2afrqyc822nk25669x78px5g5qd8gypm"; description = "Basic Latin, Greek, Cyrillic and many Symbol blocks of Unicode"; };
textfonts = { version = "9.00"; file = "Textfonts.zip"; sha256 = "0wzxz4j4fgk81b88d58715n1wvq2mqmpjpk4g5hi3vk77y2zxc4d"; description = "Aroania, Anaktoria, Alexander, Avdira and Asea"; };
unidings = { version = "9.19"; file = "Unidings.zip"; sha256 = "1bybzgdqhmq75hb12n3pjrsdcpw1a6sgryx464s68jlq4zi44g78"; description = "Glyphs and Icons for blocks of The Unicode Standard"; };
};
mkpkg = name_: {version, file, sha256, description}: fetchzip rec {
@ -42,9 +29,8 @@ let
# In lieu of a license:
# Fonts in this site are offered free for any use;
# they may be installed, embedded, opened, edited, modified, regenerated, posted, packaged and redistributed.
license = stdenv.lib.licenses.free;
license = lib.licenses.free;
homepage = http://users.teilar.gr/~g1951d/;
platforms = stdenv.lib.platforms.unix;
};
};
in

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
major = "1";
@ -11,14 +11,13 @@ in fetchzip rec {
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -l $downloadedFile
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*/FONTLOG.txt \*/GENTIUM-FAQ.txt -d $out/share/doc/${name}
'';
sha256 = "0598zr5f7d6ll48pbfbmmkrybhhdks9b2g3m2g67wm40070ffzmd";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://software.sil.org/gentium/;
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
maintainers = with maintainers; [ ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "5.000";
@ -17,7 +17,7 @@ in fetchzip rec {
sha256 = "1qr2wjdmm93167b0w9cidlf3wwsyjx4838ja9jmm4jkyian5whhp";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://software.sil.org/gentium/;
description = "A high-quality typeface family for Latin, Cyrillic, and Greek";
longDescription = ''

View File

@ -1,26 +1,22 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "go-font-${version}";
let
version = "2017-03-30";
in (fetchgit {
name = "go-font-${version}";
url = "https://go.googlesource.com/image";
rev = "f03a046406d4d7fbfd4ed29f554da8f6114049fc";
src = fetchgit {
url = "https://go.googlesource.com/image";
rev = "f03a046406d4d7fbfd4ed29f554da8f6114049fc";
sha256 = "1aq6mnjayks55gd9ahavk6jfydlq5lm4xm0xk4pd5sqa74p5p74d";
};
installPhase = ''
postFetch = ''
mv $out/* .
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/doc/go-font
cp font/gofont/ttfs/* $out/share/fonts/truetype
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
'';
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "10hfm2cpxlx1ng7r2mbvykjhmy131qlgzpdzj7ibg9kr293bcjc0";
sha256 = "1488426ya2nzmwjas947fx9h5wzxrp9wasn8nkjqf0y0mpd4f1xz";
}) // {
meta = with stdenv.lib; {
homepage = https://blog.golang.org/go-fonts;
description = "The Go font family";

View File

@ -67,6 +67,5 @@ stdenv.mkDerivation rec {
homepage = http://font.gohu.org/;
license = licenses.wtfpl;
maintainers = with maintainers; [ epitrochoid rnhmjoj ];
platforms = platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
baseName = "gyre-fonts";
@ -25,8 +25,8 @@ in fetchzip {
covering all modern European languages and then some
'';
homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
license = stdenv.lib.licenses.lppl13c;
platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ bergey ];
license = lib.licenses.lppl13c;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ bergey ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "3.003";
@ -14,7 +14,7 @@ in fetchzip rec {
sha256 = "1l6ih6v7dqali5c7zh6z2xnbf9h2wz0ag6fdgszmqd5lnhw39v6s";
meta = with stdenv.lib; {
meta = with lib; {
description = "A typeface designed for source code";
longDescription = ''
Hack is hand groomed and optically balanced to be a workhorse face for

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "20141012";
@ -15,7 +15,7 @@ in fetchzip {
sha256 = "0z0fgrjzp0hqqnhfisivciqpxd2br2w2q9mvxkglj44np2q889w2";
meta = with stdenv.lib; {
meta = with lib; {
description = "Free kanji font containing 96,327 characters";
homepage = http://fonts.jp/hanazono/;

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "1.1";
@ -9,13 +9,12 @@ in fetchzip {
postFetch = ''
unzip $downloadedFile
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype
install -m444 -Dt $out/share/fonts/opentype *.otf
'';
sha256 = "0xxyx0nkapviqaqmf3b610nq17k20afirvc72l32pfspsbxz8ybq";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/i-tu/Hasklig;
description = "A font with ligatures for Haskell code based off Source Code Pro";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "2013.06.07"; # date of most recent file in distribution
@ -28,8 +28,8 @@ in fetchzip rec {
font. The numbers are well spaced and defined with high accuracy. The
punctuation marks are heavily detailed as well.
'';
license = stdenv.lib.licenses.unfree;
maintainers = [ stdenv.lib.maintainers.romildo ];
platforms = stdenv.lib.platforms.all;
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.romildo ];
platforms = lib.platforms.all;
};
}

View File

@ -1,23 +1,20 @@
{ stdenv, fetchurl }:
{ lib, fetchzip }:
stdenv.mkDerivation rec {
let
pname = "hermit";
version = "2.0";
in fetchzip rec {
name = "${pname}-${version}";
src = fetchurl {
url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz";
sha256 = "09rmy3sbf1j1hr8zidighjgqc8kp0wsra115y27vrnlf10ml6jy0";
};
url = "https://pcaro.es/d/otf-${name}.tar.gz";
sourceRoot = ".";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/opentype
cp *.otf $out/share/fonts/opentype/
postFetch = ''
tar xf $downloadedFile
install -m444 -Dt $out/share/fonts/opentype *.otf
'';
sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl";
meta = with stdenv.lib; {
meta = with lib; {
description = "monospace font designed to be clear, pragmatic and very readable";
homepage = https://pcaro.es/p/hermit;
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip, lib }:
{ fetchzip, lib }:
let
version = "1.1";
@ -15,7 +15,7 @@ fetchzip rec {
unzip -j $downloadedFile \*${pname}.otf -d $out/share/fonts/opentype/${pname}.otf
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://velvetyne.fr/fonts/hyper-scrypt/;
description = "A modern stencil typeface inspired by stained glass technique";
longDescription = ''

View File

@ -1,26 +1,22 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
{ lib, fetchFromGitHub }:
let
pname = "inriafonts";
version = "1.200";
in fetchFromGitHub rec {
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "BlackFoundry";
repo = "InriaFonts";
rev = "v${version}";
sha256 = "06775y99lyh6hj5hzvrx56iybdck8a8xfqkipqd5c4cldg0a9hh8";
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp fonts/*/TTF/*.ttf $out/share/fonts/truetype
mkdir -p $out/share/fonts/opentype
cp fonts/*/OTF/*.otf $out/share/fonts/opentype
'';
postFetch = ''
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/truetype fonts/*/TTF/*.ttf
install -m444 -Dt $out/share/fonts/opentype fonts/*/OTF/*.otf
'';
sha256 = "0wrwcyycyzvgvgnlmwi1ncdvwb8f6bbclynd1105rsyxgrz5dd70";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://black-foundry.com/work/inria;
description = "Inria Sans and Inria Serif";
longDescription = ''
@ -32,7 +28,7 @@ installPhase = ''
typeface with a unapologetically contemporary design as the
Sans-serif part and a more rational axis and drawing for the
serif. Both members comes in 3 weights with matching italics.
'';
'';
license = licenses.ofl;
maintainers = with maintainers; [ leenaars ];
platforms = platforms.all;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
# XXX: IMPORTANT:
# For compat, keep this at the last version that used the name "Inter UI"
@ -18,7 +18,7 @@ in fetchzip {
sha256 = "01d2ql803jrhss6g60djvs08x9xl7z6b3snkn03vqnrajdgifcl4";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://rsms.me/inter/;
description = "A typeface specially designed for user interfaces";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "3.5";
@ -14,7 +14,7 @@ in fetchzip {
sha256 = "0zqixzzbb3n1j4jvpjm0hlxc32j53hgq4j078gihjkhgvjhsklf2";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://rsms.me/inter/;
description = "A typeface specially designed for user interfaces";
license = licenses.ofl;

View File

@ -1,9 +1,9 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip rec {
fetchzip {
name = "ipaexfont-003.01";
url = "http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
url = "http://web.archive.org/web/20160616003021/http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont00301.zip";
postFetch = ''
mkdir -p $out/share/fonts
@ -12,7 +12,7 @@ fetchzip rec {
sha256 = "02a6sj990cnig5lq0m54nmbmfkr3s57jpxl9fiyzrjmigvd1qmhj";
meta = with stdenv.lib; {
meta = with lib; {
description = "Japanese font package with Mincho and Gothic fonts";
longDescription = ''
IPAex font is a Japanese font developed by the Information-technology
@ -24,6 +24,5 @@ fetchzip rec {
homepage = http://ipafont.ipa.go.jp/;
license = licenses.ipa;
maintainers = with maintainers; [ gebner ];
platforms = with platforms; unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip {
name = "ipafont-003.03";
@ -20,8 +20,7 @@ fetchzip {
suitable for both display and printing.
'';
homepage = http://ipafont.ipa.go.jp/ipafont/;
license = stdenv.lib.licenses.ipa;
maintainers = [ stdenv.lib.maintainers.auntie ];
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.ipa;
maintainers = [ lib.maintainers.auntie ];
};
}

View File

@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "ir-standard-fonts";
version= "unstable-2017-01-21";
version = "unstable-2017-01-21";
in fetchFromGitHub rec {
name = "${pname}-${version}";
owner = "morealaz";
repo = pname;
rev = "d36727d6c38c23c01b3074565667a2fe231fe18f";
src = fetchFromGitHub {
owner = "morealaz";
repo = pname;
rev = "d36727d6c38c23c01b3074565667a2fe231fe18f";
sha256 = "1ks9q1r1gk2517yfr1fbgrdbgw0w97i4am6jqn5ywpgm2xd03yg1";
};
installPhase = ''
mkdir -p $out/share/fonts/ir-standard-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/ir-standard-fonts
postFetch = ''
tar xf $downloadedFile --strip=1
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/ir-standard-fonts {} \;
'';
sha256 = "0i2vzhwk77pm6fx5z5gxl026z9f35rhh3cvl003mry2lcg1x5rhp";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/morealaz/ir-standard-fonts;
description = "Iran Supreme Council of Information and Communication Technology (SCICT) standard Persian fonts series";
# License information is unavailable.

View File

@ -1,23 +1,18 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
stdenv.mkDerivation rec {
name = "iwona-${version}";
let
version = "0_995";
in fetchzip {
name = "iwona-${version}";
url = "http://jmn.pl/pliki/Iwona-otf-${version}.zip";
src = fetchzip {
url = "http://jmn.pl/pliki/Iwona-otf-${version}.zip";
sha256 = "1wj5bxbxpz5a8p3rhw708cyjc0lgqji8g0iv6brmmbrrkpb3jq2s";
};
installPhase = ''
install -m 444 -D -t $out/share/fonts/opentype/ *.otf
postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -j $downloadedFile *.otf -d $out/share/fonts/opentype
'';
sha256 = "1dcpn13bd31dw7ir0s722bv3nk136dy6qsab0kznjbzfqd7agswa";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1dcpn13bd31dw7ir0s722bv3nk136dy6qsab0kznjbzfqd7agswa";
meta = with stdenv.lib; {
meta = with lib; {
description = "A two-element sans-serif typeface, created by Małgorzata Budyta";
homepage = http://jmn.pl/en/kurier-i-iwona/;
# "[...] GUST Font License (GFL), which is a free license, legally

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip {
name = "junicode-0.7.8";
@ -15,7 +15,6 @@ fetchzip {
meta = {
homepage = http://junicode.sourceforge.net/;
description = "A Unicode font for medievalists";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
fetchzip rec {
name = "kawkab-mono-20151015";
@ -15,8 +15,7 @@ fetchzip rec {
meta = {
description = "An arab fixed-width font";
homepage = https://makkuk.com/kawkab-mono/;
license = stdenv.lib.licenses.ofl;
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.ofl;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let version = "20030809";
in
@ -26,7 +26,7 @@ fetchzip {
Debian version.
'';
homepage = http://sourceforge.jp/projects/efont/;
license = stdenv.lib.licenses.unfreeRedistributable;
maintainers = [ stdenv.lib.maintainers.auntie ];
license = lib.licenses.unfreeRedistributable;
maintainers = [ lib.maintainers.auntie ];
};
}

View File

@ -43,6 +43,5 @@ stdenv.mkDerivation {
homepage = http://sourceforge.jp/projects/efont/;
license = stdenv.lib.licenses.wadalab;
maintainers = [ stdenv.lib.maintainers.auntie ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "lalezar-fonts";
version = "unstable-2017-02-28";
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "BornaIz";
repo = "Lalezar";
rev = "238701c4241f207e92515f845a199be9131c1109";
src = fetchFromGitHub {
owner = "BornaIz";
repo = "Lalezar";
rev = "238701c4241f207e92515f845a199be9131c1109";
sha256 = "1j3zg9qw4ahw52i0i2c69gv5gjc1f4zsdla58kd9visk03qgk77p";
};
installPhase = ''
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/lalezar-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/lalezar-fonts
'';
sha256 = "0jmwhr2dqgj3vn0v26jh6c0id6n3wd6as3bq39xa870zlk7v307b";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/BornaIz/Lalezar;
description = "A multi-script display typeface for popular culture";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip {
name = "lato-2.0";
@ -12,7 +12,7 @@ fetchzip {
sha256 = "1amwn6vcaggxrd2s4zw21s2pr47zmzdf2xfy4x9lxa2cd9bkhvg5";
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://www.latofonts.com/;
description = ''

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
let
version = "1.1.5";
@ -15,7 +15,7 @@ in fetchzip rec {
sha256 = "1a9dvl1pzch2vh8sqyyn1d1wz4n624ffazl6hzlc3s5k5lzrb6jp";
meta = with stdenv.lib; {
meta = with lib; {
description = "Liberation Sans fork with improved cyrillic support";
homepage = https://sourceforge.net/projects/lib-ka/;

View File

@ -14,11 +14,8 @@ stdenv.mkDerivation rec {
buildInputs = [ fontforge pythonPackages.fonttools python ];
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -v $(find . -name '*Narrow*.ttf') $out/share/fonts/truetype
mkdir -p "$out/doc/${pname}-${version}"
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${pname}-${version}" || true
find . -name '*Narrow*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
install -m444 -Dt $out/doc/${pname}-${version} AUTHORS ChangeLog COPYING License.txt README.rst
'';
meta = with stdenv.lib; {

View File

@ -1,28 +1,22 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "libertinus-${version}";
let
version = "6.6";
in fetchFromGitHub rec {
name = "libertinus-${version}";
src = fetchFromGitHub {
rev = "v${version}";
owner = "khaledhosny";
repo = "libertinus";
sha256 = "0syagjmwy6q1ysncchl9bgyfrm7f6fghj1aipbr6md7l6gafz7ji";
};
owner = "khaledhosny";
repo = "libertinus";
rev = "v${version}";
installPhase = ''
mkdir -p $out/share/fonts/opentype/
mkdir -p $out/share/doc/${name}/
cp *.otf $out/share/fonts/opentype/
cp *.txt $out/share/doc/${name}/
postFetch = ''
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/doc/${name} *.txt
'';
sha256 = "11pxb2zwvjlk06zbqrfv2pgwsl4awf68fak1ks4881i8xbl1910m";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "11pxb2zwvjlk06zbqrfv2pgwsl4awf68fak1ks4881i8xbl1910m";
meta = with stdenv.lib; {
meta = with lib; {
description = "A fork of the Linux Libertine and Linux Biolinum fonts";
longDescription = ''
Libertinus fonts is a fork of the Linux Libertine and Linux Biolinum fonts

View File

@ -1,19 +1,21 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "libre-baskerville-1.000";
url = https://github.com/impallari/Libre-Baskerville/archive/2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f.zip;
owner = "impallari";
repo = "Libre-Baskerville";
rev = "2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -n -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/truetype *.ttf
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
'';
sha256 = "0arlq89b3vmpw3n4wbllsdvqblhz6p09dm19z1cndicmcgk26w2a";
sha256 = "1kpji85d1mgwq8b4fh1isznrhsrv32la3wf058rwjmhx5a3l7yaj";
meta = with stdenv.lib; {
meta = with lib; {
description = "A webfont family optimized for body text";
longDescription = ''
Libre Baskerville is a webfont family optimized for body text. It's Based

View File

@ -1,19 +1,21 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "libre-bodoni-2.000";
url = https://github.com/impallari/Libre-Bodoni/archive/995a40e8d6b95411d660cbc5bb3f726ffd080c7d.zip;
owner = "impallari";
repo = "Libre-Bodoni";
rev = "995a40e8d6b95411d660cbc5bb3f726ffd080c7d";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*/v2000\ -\ initial\ glyphs\ migration/OTF/\*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype */v2000\ -\ initial\ glyphs\ migration/OTF/*.otf
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
'';
sha256 = "0pnb1xydpvcl9mkz095f566kz7yj061wbf40rwrbwmk706f6bsiw";
sha256 = "0my0i5a7f0d27m6dcdirjmlcnswqqfp8gl3ccxa5f2wkn3qlzkvz";
meta = with stdenv.lib; {
meta = with lib; {
description = "Bodoni fonts adapted for today's web requirements";
longDescription = ''
The Libre Bodoni fonts are based on the 19th century Morris Fuller

View File

@ -1,19 +1,21 @@
{ stdenv, fetchzip }:
{ lib, fetchFromGitHub }:
fetchzip rec {
fetchFromGitHub rec {
name = "libre-franklin-1.014";
url = https://github.com/impallari/Libre-Franklin/archive/006293f34c47bd752fdcf91807510bc3f91a0bd3.zip;
owner = "impallari";
repo = "Libre-Franklin";
rev = "006293f34c47bd752fdcf91807510bc3f91a0bd3";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*README.md \*FONTLOG.txt -d "$out/share/doc/${name}"
tar xf $downloadedFile --strip=1
install -m444 -Dt $out/share/fonts/opentype */OTF/*.otf
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
'';
sha256 = "1rkjp8x62cn4alw3lp7m45q34bih81j2hg15kg5c1nciyqq1qz0z";
sha256 = "0aq280m01pbirkzga432340aknf2m5ggalw0yddf40sqz7falykf";
meta = with stdenv.lib; {
meta = with lib; {
description = "A reinterpretation and expansion based on the 1912 Morris Fuller Bentons classic.";
homepage = https://github.com/impallari/Libre-Franklin;
license = licenses.ofl;

View File

@ -1,26 +1,20 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
stdenv.mkDerivation rec {
name = "latinmodern-math-${version}";
let
version = "1.959";
in fetchzip rec {
name = "latinmodern-math-${version}";
src = fetchzip {
url = "www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip";
sha256 = "15l3lxjciyjmbh0q6jjvzz16ibk4ij79in9fs47qhrfr2wrddpvs";
};
installPhase = ''
url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype/
mkdir -p $out/share/doc/${name}/
cp otf/*.otf $out/share/fonts/opentype/
cp doc/*.txt $out/share/doc/${name}/
unzip -f $downloadedFile otf/*.otf -d $out/share/fonts/opentype/
unzip -f $downloadedFile doc/*.txt -d $out/share/doc/${name}/
'';
sha256 = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "05k145bxgxjh7i9gx1ahigxfpc2v2vwzsy2mc41jvvg51kjr8fnn";
meta = with stdenv.lib; {
meta = with lib; {
description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth.";
homepage = http://www.gust.org.pl/projects/e-foundry/lm-math;
# "The Latin Modern Math font is licensed under the GUST Font License (GFL),

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip {
name = "lmodern-2.004.5";
@ -21,7 +21,6 @@ fetchzip {
meta = {
description = "Latin Modern font";
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
fetchzip {
name = "lmmath-0.903";
@ -21,7 +21,6 @@ fetchzip {
meta = {
description = "Latin Modern font";
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -70,10 +70,11 @@ in
outputHash = "0if9l8pzwgfnbdjg5yblcy08dwn9yj3wzz29l0fycia46xlzd4ym";
meta = with stdenv.lib; {
homepage = http://www.impallari.com/lobstertwo;
homepage = https://github.com/librefonts/lobstertwo;
description = "Script font with many ligatures";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [maintainers.rycee];
broken = true; # googlecode.com RIP; can be built from sources
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip, lib }:
{ fetchzip, lib }:
let
fonts = {
assamese = { label = "Assamese"; version = "2.91.5"; sha256 = "06cw416kgw0m6883n5ixmpniinsd747rdmacf06z83w1hqwj2js6"; };
@ -51,7 +51,6 @@ let
# Set a non-zero priority to allow easy overriding of the
# fontconfig configuration files.
priority = 5;
platforms = stdenv.lib.platforms.unix;
};
};

View File

@ -1,19 +1,19 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "manrope";
version = "3";
src = fetchFromGitHub {
owner = "sharanda";
repo = pname;
rev = "3bd68c0c325861e32704470a90dfc1868a5c37e9";
sha256 = "1k6nmczbl97b9j2a8vx6a1r3q4gd1c2qydv0y9gn8xyl7x8fcvhs";
};
dontBuild = true;
installPhase = ''
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "sharanda";
repo = pname;
rev = "3bd68c0c325861e32704470a90dfc1868a5c37e9";
sha256 = "1h4chkfbp75hrrqqarf28ld4yb7hfrr7q4w5yz96ivg94lbwlnld";
postFetch = ''
tar xf $downloadedFile --strip=1
install -Dm644 -t $out/share/fonts/opentype "desktop font"/*
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Open-source modern sans-serif font family";
homepage = https://github.com/sharanda/manrope;
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip, p7zip }:
{ lib, fetchzip, p7zip }:
let
version = "1.2";
@ -11,15 +11,13 @@ in fetchzip rec {
${p7zip}/bin/7z x $downloadedFile
cd MarathiCursive
mkdir -p $out/share/fonts/marathi-cursive
cp -v *.otf *.ttf $out/share/fonts/marathi-cursive
mkdir -p $out/share/doc/${name}
cp -v README *.txt $out/share/doc/${name}
install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf
install -m444 -Dt $out/share/doc/${name} README *.txt
'';
sha256 = "0fhz2ixrkm523qlx5pnwyzxgb1cfiiwrhls98xg8a5l3sypn1g8v";
sha256 = "0wq4w79x8r5w6ikm9amcmapf0jcdgifs9zf1pbnw3fk4ncz5s551";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/MihailJP/MarathiCursive;
description = "Modi script font with Graphite and OpenType support";
maintainers = with maintainers; [ mathnerd314 ];

View File

@ -1,17 +1,15 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "material-design-icons-${version}";
let
version = "3.3.92";
in fetchFromGitHub {
name = "material-design-icons-${version}";
owner = "Templarian";
repo = "MaterialDesign-Webfont";
rev = "v${version}";
src = fetchFromGitHub {
owner = "Templarian";
repo = "MaterialDesign-Webfont";
rev = "v${version}";
sha256 = "0k8pv2nsp3al4i4awx5mv7cscpm8akjn567jl9dwzangcsai0l53";
};
installPhase = ''
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/{eot,svg,truetype,woff,woff2}
cp fonts/*.eot $out/share/fonts/eot/
cp fonts/*.svg $out/share/fonts/svg/
@ -19,8 +17,9 @@ stdenv.mkDerivation rec {
cp fonts/*.woff $out/share/fonts/woff/
cp fonts/*.woff2 $out/share/fonts/woff2/
'';
sha256 = "0dbm4qfd0b91yrw3cv4i377pnm98fgj936nk1m5wlx8mx8jahz48";
meta = with stdenv.lib; {
meta = with lib; {
description = "3200+ Material Design Icons from the Community";
longDescription = ''
Material Design Icons' growing icon collection allows designers and

View File

@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "material-icons-${version}";
let
version = "3.0.1";
in fetchFromGitHub {
name = "material-icons-${version}";
src = fetchFromGitHub {
owner = "google";
repo = "material-design-icons";
rev = "${version}";
sha256 = "17q5brcqyyc8gbjdgpv38p89s60cwxjlwy2ljnrvas5cj0s62np0";
};
owner = "google";
repo = "material-design-icons";
rev = version;
buildCommand = ''
postFetch = ''
tar xf $downloadedFile --strip=1
mkdir -p $out/share/fonts/truetype
cp $src/iconfont/*.ttf $out/share/fonts/truetype
cp iconfont/*.ttf $out/share/fonts/truetype
'';
sha256 = "1syy6v941lb8nqxhdf7mfx28v05lwrfnq53r3c1ym13x05l9kchp";
meta = with stdenv.lib; {
meta = with lib; {
description = "System status icons by Google, featuring material design";
homepage = https://material.io/icons;
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
majorVersion = "0";
@ -17,7 +17,7 @@ fetchzip rec {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://dotcolon.net/font/${pname}/";
description = "Serif font designed by Sora Sagano";
longDescription = ''

View File

@ -26,8 +26,7 @@ stdenv.mkDerivation rec {
unpackPhase = ":";
installPhase = ''
mkdir -p $out/share/fonts/truetype/migmix
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migmix
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
'';
outputHashAlgo = "sha256";
@ -38,7 +37,6 @@ stdenv.mkDerivation rec {
description = "A high-quality Japanese font based on M+ fonts and IPA fonts";
homepage = http://mix-mplus-ipa.osdn.jp/migmix;
license = licenses.ipa;
platforms = platforms.unix;
maintainers = [ maintainers.mikoim ];
};
}

View File

@ -37,7 +37,6 @@ stdenv.mkDerivation rec {
description = "A high-quality Japanese font based on modified M+ fonts and IPA fonts";
homepage = http://mix-mplus-ipa.osdn.jp/migu/;
license = licenses.ipa;
platforms = platforms.unix;
maintainers = [ maintainers.mikoim ];
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.2";
@ -14,7 +14,7 @@ in fetchzip {
sha256 = "19y4xg7ilm21h9yynyrwcafdqn05zknpmmjrb37qim6p0cy2glff";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/madmalik/mononoki;
description = "A font for programming and code review";
license = licenses.ofl;

View File

@ -2,7 +2,7 @@
#
# https://aur.archlinux.org/packages/ttf-montserrat/
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "1.0";
@ -19,7 +19,7 @@ in fetchzip {
sha256 = "11sdgvhaqg59mq71aqwqp2mb428984hjxy7hd1vasia9kgk8259w";
meta = with stdenv.lib; {
meta = with lib; {
description = "A geometric sans serif font with extended latin support (Regular, Alternates, Subrayada)";
homepage = "https://www.fontspace.com/julieta-ulanovsky/montserrat";
license = licenses.ofl;

View File

@ -1,4 +1,4 @@
{stdenv, fetchzip}:
{ lib, fetchzip }:
fetchzip {
name = "MPH-2B-Damase-2";
@ -13,6 +13,5 @@ fetchzip {
sha256 = "0yzf12z6fpbgycqwiz88f39iawdhjabadfa14wxar3nhl9n434ql";
meta = {
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, fetchzip }:
let
version = "063";
@ -15,7 +15,7 @@ in fetchzip rec {
sha256 = "0d485l2ihxfk039rrrnfviamlbj13cwky0c752m4ikwvgiqiq94y";
meta = with stdenv.lib; {
meta = with lib; {
description = "M+ Outline Fonts";
homepage = http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html;
license = licenses.mit;

View File

@ -3,7 +3,7 @@
fetchzip {
name = "mro-unicode-2013-05-25";
url = "https://github.com/phjamr/MroUnicode/raw/master/MroUnicode-Regular.ttf";
url = "https://github.com/phjamr/MroUnicode/raw/f297de070f7eba721a47c850e08efc119d3bfbe8/MroUnicode-Regular.ttf";
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/MroUnicode-Regular.ttf";

View File

@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub }:
{ lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
let
pname = "nahid-fonts";
version = "0.3.0";
in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
repo = "nahid-font";
rev = "v${version}";
src = fetchFromGitHub {
owner = "rastikerdar";
repo = "nahid-font";
rev = "v${version}";
sha256 = "0n42sywi41zin9dilr8vabmcqvmx2f1a8b4yyybs6ms9zb9xdkxg";
};
installPhase = ''
mkdir -p $out/share/fonts/nahid-fonts
cp -v $( find . -name '*.ttf') $out/share/fonts/nahid-fonts
postFetch = ''
tar xf $downloadedFile --strip=1
find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/nahid-fonts {} \;
'';
sha256 = "0df169sibq14j2mj727sq86c00jm1nz8565v85hkvh4zgz2plb7c";
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/rastikerdar/nahid-font;
description = "A Persian (Farsi) Font - قلم (فونت) فارسی ناهید";
license = licenses.free;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchzip, unzip}:
{ lib, fetchzip }:
let
version = "VER2.5";
@ -15,7 +15,7 @@ in fetchzip rec {
sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc";
meta = with stdenv.lib; {
meta = with lib; {
description = "A contemporary monospaced sans-serif typeface with a warm touch";
homepage = https://github.com/naver/nanumfont;
license = licenses.ofl;

View File

@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
homepage = https://github.com/ryanoasis/nerd-fonts;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
platforms = with platforms; unix;
hydraPlatforms = []; # 'Output limit exceeded' on Hydra
};
}

Some files were not shown because too many files have changed in this diff Show More