fonts: Formatting, empty lines and whitespaces.

This commit is contained in:
Alexander V. Nikolaev 2015-09-23 23:44:28 +03:00
parent 3973f9f2fe
commit db74af9a5f
14 changed files with 61 additions and 66 deletions

View File

@ -2,17 +2,21 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "aurulent-sans-0.1"; name = "aurulent-sans-0.1";
src = fetchgit { src = fetchgit {
url = "https://github.com/deepfire/hartke-aurulent-sans.git"; url = "https://github.com/deepfire/hartke-aurulent-sans.git";
rev = "refs/tags/${name}"; rev = "refs/tags/${name}";
sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk"; sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
}; };
buildPhase = "true"; buildPhase = "true";
installPhase = "
installPhase = ''
fontDir=$out/share/fonts/opentype fontDir=$out/share/fonts/opentype
mkdir -p $fontDir mkdir -p $fontDir
cp *.otf $fontDir cp *.otf $fontDir
"; '';
meta = { meta = {
description = "Aurulent Sans"; description = "Aurulent Sans";
longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font."; longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";

View File

@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/dejavu/dejavu-fonts-${version}.tar.bz2"; url = "mirror://sourceforge/dejavu/dejavu-fonts-${version}.tar.bz2";
sha256 = "1xdbi4llrq1qbkd73352ibrfqcbz93dww8hab216qz5szd95yvv4"; sha256 = "1xdbi4llrq1qbkd73352ibrfqcbz93dww8hab216qz5szd95yvv4";
}; };
buildFlags = "full-ttf"; buildFlags = "full-ttf";
preBuild = '' preBuild = ''
sed -e s@/usr/bin/env@$(type -tP env)@ -i scripts/* sed -e s@/usr/bin/env@$(type -tP env)@ -i scripts/*
sed -e s@/usr/bin/perl@$(type -tP perl)@ -i scripts/* sed -e s@/usr/bin/perl@$(type -tP perl)@ -i scripts/*
@ -30,6 +32,7 @@ stdenv.mkDerivation rec {
ln -s ${unicodeData} resources/UnicodeData.txt ln -s ${unicodeData} resources/UnicodeData.txt
ln -s ${blocks} resources/Blocks.txt ln -s ${blocks} resources/Blocks.txt
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
for i in $(find build -name '*.ttf'); do for i in $(find build -name '*.ttf'); do

View File

@ -16,15 +16,12 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Font Awesome - TTF font"; description = "Font Awesome - TTF font";
longDescription = '' longDescription = ''
Font Awesome gives you scalable vector icons that can instantly be customized. Font Awesome gives you scalable vector icons that can instantly be customized.
This package includes only the TTF font. For full CSS etc. see the project website. This package includes only the TTF font. For full CSS etc. see the project website.
''; '';
homepage = "http://fortawesome.github.io/Font-Awesome/"; homepage = "http://fortawesome.github.io/Font-Awesome/";
license = stdenv.lib.licenses.ofl; license = stdenv.lib.licenses.ofl;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.abaldeau ]; maintainers = [ stdenv.lib.maintainers.abaldeau ];
}; };

View File

@ -17,17 +17,14 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "GNU Free UCS Outline Fonts"; description = "GNU Free UCS Outline Fonts";
longDescription = '' longDescription = ''
The GNU Freefont project aims to provide a set of free outline The GNU Freefont project aims to provide a set of free outline
(PostScript Type0, TrueType, OpenType...) fonts covering the ISO (PostScript Type0, TrueType, OpenType...) fonts covering the ISO
10646/Unicode UCS (Universal Character Set). 10646/Unicode UCS (Universal Character Set).
''; '';
homepage = http://www.gnu.org/software/freefont/; homepage = http://www.gnu.org/software/freefont/;
license = stdenv.lib.licenses.gpl3Plus; license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = [ ]; maintainers = [];
}; };
} }

View File

@ -21,17 +21,15 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX"; description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX";
longDescription = ''
longDescription = ''The Gyre project started in 2006, and will The Gyre project started in 2006, and will
eventually include enhanced releases of all 35 freely available eventually include enhanced releases of all 35 freely available
PostScript fonts distributed with Ghostscript v4.00. These are PostScript fonts distributed with Ghostscript v4.00. These are
being converted to OpenType and extended with diacritical marks being converted to OpenType and extended with diacritical marks
covering all modern European languages and then some''; covering all modern European languages and then some
'';
homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings"; homepage = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/index_html#Readings";
license = stdenv.lib.licenses.lppl13c; license = stdenv.lib.licenses.lppl13c;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ bergey ]; maintainers = with stdenv.lib.maintainers; [ bergey ];
}; };

View File

@ -42,7 +42,6 @@ stdenv.mkDerivation {
the license is available in LICENSE.md" (From the GitHub page) the license is available in LICENSE.md" (From the GitHub page)
*/ */
license = licenses.free; license = licenses.free;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ nckx ]; maintainers = with maintainers; [ nckx ];
}; };

View File

@ -2,14 +2,18 @@
stdenv.mkDerivation { stdenv.mkDerivation {
name = "MPH-2B-Damase"; name = "MPH-2B-Damase";
src = fetchurl { src = fetchurl {
url = http://www.wazu.jp/downloads/damase_v.2.zip; url = http://www.wazu.jp/downloads/damase_v.2.zip;
sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h"; sha256 = "0y7rakbysjjrzcc5y100hkn64j7js434x20pyi6rllnw2w2n1y1h";
}; };
buildInputs = [unzip]; buildInputs = [unzip];
unpackPhase = '' unpackPhase = ''
unzip $src; unzip $src;
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype cp *.ttf $out/share/fonts/truetype

View File

@ -40,19 +40,18 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "OpenType Urdu font from the Center for Research in Urdu Language Processing"; description = "OpenType Urdu font from the Center for Research in Urdu Language Processing";
longDescription = ''
longDescription = '' The Nafees font family is developed according The Nafees font family is developed according
to calligraphic rules, following the style of Syed Nafees to calligraphic rules, following the style of Syed Nafees
Al-Hussaini (Nafees Raqam) one of the finest calligraphers of Al-Hussaini (Nafees Raqam) one of the finest calligraphers of
Pakistan ''; Pakistan
'';
homepage = "http://www.cle.org.pk/software/localization.htm"; homepage = "http://www.cle.org.pk/software/localization.htm";
# Used to be GPLv2. The license distributed with the fonts looks # Used to be GPLv2. The license distributed with the fonts looks
# more like a modified BSD, but still contains the GPLv2 embedded # more like a modified BSD, but still contains the GPLv2 embedded
# font exception, and some not-for-resale language. # font exception, and some not-for-resale language.
license = "unknown"; license = "unknown";
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = with stdenv.lib.maintainers; [ bergey ]; maintainers = with stdenv.lib.maintainers; [ bergey ];
}; };

View File

@ -19,15 +19,12 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Open Sans fonts"; description = "Open Sans fonts";
longDescription = '' longDescription = ''
Open Sans is a humanist sans serif typeface designed by Steve Matteson, Open Sans is a humanist sans serif typeface designed by Steve Matteson,
Type Director of Ascender Corp. Type Director of Ascender Corp.
''; '';
homepage = "http://en.wikipedia.org/wiki/Open_Sans"; homepage = "http://en.wikipedia.org/wiki/Open_Sans";
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;
maintainers = [ ]; maintainers = [ ];
}; };

View File

@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New"; description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
longDescription = '' longDescription = ''
The Liberation Fonts are intended to be replacements for the three most The Liberation Fonts are intended to be replacements for the three most
commonly used fonts on Microsoft systems: Times New Roman, Arial, and commonly used fonts on Microsoft systems: Times New Roman, Arial, and
@ -38,9 +37,7 @@ stdenv.mkDerivation rec {
# See `License.txt' for details. # See `License.txt' for details.
license = stdenv.lib.licenses.gpl2Oss; license = stdenv.lib.licenses.gpl2Oss;
homepage = https://fedorahosted.org/liberation-fonts/; homepage = https://fedorahosted.org/liberation-fonts/;
maintainers = [ maintainers = [
stdenv.lib.maintainers.raskin stdenv.lib.maintainers.raskin
]; ];

View File

@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New"; description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
longDescription = '' longDescription = ''
The Liberation Fonts are intended to be replacements for the three most The Liberation Fonts are intended to be replacements for the three most
commonly used fonts on Microsoft systems: Times New Roman, Arial, and commonly used fonts on Microsoft systems: Times New Roman, Arial, and
@ -40,9 +39,7 @@ stdenv.mkDerivation rec {
# See `License.txt' for details. # See `License.txt' for details.
license = stdenv.lib.licenses.gpl2Oss; license = stdenv.lib.licenses.gpl2Oss;
homepage = https://fedorahosted.org/liberation-fonts/; homepage = https://fedorahosted.org/liberation-fonts/;
maintainers = [ maintainers = [
stdenv.lib.maintainers.raskin stdenv.lib.maintainers.raskin
]; ];

View File

@ -2,11 +2,14 @@
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ttf-bitstream-vera-1.10"; name = "ttf-bitstream-vera-1.10";
src = fetchurl { src = fetchurl {
url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2; url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv"; sha256 = "1p3qs51x5327gnk71yq8cvmxc6wgx79sqxfvxcv80cdvgggjfnyv";
}; };
buildPhase = "true"; buildPhase = "true";
installPhase = " installPhase = "
fontDir=$out/share/fonts/truetype fontDir=$out/share/fonts/truetype
mkdir -p $fontDir mkdir -p $fontDir