2008-03-02 19:39:33 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2009-07-09 14:07:45 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "liberation-fonts-1.04";
|
2008-03-02 19:39:33 +01:00
|
|
|
src = fetchurl {
|
2009-07-09 14:07:45 +02:00
|
|
|
url = "https://fedorahosted.org/releases/l/i/liberation-fonts/${name}.tar.gz";
|
2009-05-09 18:26:59 +02:00
|
|
|
sha256 = "189i6pc4jqhhmsb9shi8afg9af9crpmz9bnlldhqaxavr1bhj38f";
|
2008-03-02 19:39:33 +01:00
|
|
|
};
|
2008-07-07 21:02:57 +02:00
|
|
|
|
2008-03-02 19:39:33 +01:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/fonts/truetype
|
2009-07-09 14:07:45 +02:00
|
|
|
cp -v *.ttf $out/share/fonts/truetype
|
|
|
|
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p "$out/doc/${name}"
|
2009-07-09 14:07:45 +02:00
|
|
|
cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}"
|
2008-03-02 19:39:33 +01:00
|
|
|
'';
|
2009-07-09 14:07:45 +02:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
|
2009-07-09 14:07:45 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
The Liberation Fonts are intended to be replacements for the three most
|
|
|
|
commonly used fonts on Microsoft systems: Times New Roman, Arial, and
|
|
|
|
Courier New.
|
|
|
|
|
|
|
|
There are three sets: Sans (a substitute for Arial, Albany, Helvetica,
|
|
|
|
Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times
|
|
|
|
New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono
|
|
|
|
(a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and
|
|
|
|
Bitstream Vera Sans Mono).
|
|
|
|
|
|
|
|
You are free to use these fonts on any system you would like. You are
|
|
|
|
free to redistribute them under the GPL+exception license found in the
|
|
|
|
download. Using these fonts does not subject your documents to the
|
|
|
|
GPL---it liberates them from any proprietary claim.
|
|
|
|
'';
|
|
|
|
|
|
|
|
# See `License.txt' for details.
|
|
|
|
license = "GPLv2 + exception";
|
|
|
|
|
|
|
|
homepage = https://fedorahosted.org/liberation-fonts/;
|
|
|
|
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.raskin
|
|
|
|
stdenv.lib.maintainers.ludo
|
|
|
|
];
|
|
|
|
};
|
2008-03-02 19:39:33 +01:00
|
|
|
}
|