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 {
name = "aurulent-sans-0.1";
src = fetchgit {
url = "https://github.com/deepfire/hartke-aurulent-sans.git";
rev = "refs/tags/${name}";
sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
};
buildPhase = "true";
installPhase = "
installPhase = ''
fontDir=$out/share/fonts/opentype
mkdir -p $fontDir
cp *.otf $fontDir
";
'';
meta = {
description = "Aurulent Sans";
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";
sha256 = "1xdbi4llrq1qbkd73352ibrfqcbz93dww8hab216qz5szd95yvv4";
};
buildFlags = "full-ttf";
preBuild = ''
sed -e s@/usr/bin/env@$(type -tP env)@ -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 ${blocks} resources/Blocks.txt
'';
installPhase = ''
mkdir -p $out/share/fonts/truetype
for i in $(find build -name '*.ttf'); do

View File

@ -16,15 +16,12 @@ stdenv.mkDerivation rec {
meta = {
description = "Font Awesome - TTF font";
longDescription = ''
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.
'';
homepage = "http://fortawesome.github.io/Font-Awesome/";
license = stdenv.lib.licenses.ofl;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.abaldeau ];
};

View File

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

View File

@ -21,17 +21,15 @@ stdenv.mkDerivation rec {
meta = {
description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX";
longDescription = ''The Gyre project started in 2006, and will
longDescription = ''
The Gyre project started in 2006, and will
eventually include enhanced releases of all 35 freely available
PostScript fonts distributed with Ghostscript v4.00. These are
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";
license = stdenv.lib.licenses.lppl13c;
platforms = stdenv.lib.platforms.all;
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)
*/
license = licenses.free;
platforms = platforms.all;
maintainers = with maintainers; [ nckx ];
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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