Merge remote-tracking branch 'upstream/master' into staging

This commit is contained in:
Thomas Tuegel
2015-04-29 11:33:28 -05:00
134 changed files with 2172 additions and 576 deletions
+16 -8
View File
@@ -1,20 +1,27 @@
{stdenv, fetchurl, unzip}:
{ stdenv, fetchurl
, unzip }:
stdenv.mkDerivation rec {
name = "comic-neue-1.1";
name = "comic-neue-${version}";
version = "2.2";
src = fetchurl {
url = "http://comicneue.com/comic-neue-1.1.zip";
sha256 = "f9442fc42252db62ea788bd0247ae0e74571678d1dbd3e3edc229389050d6923";
url = "http://comicneue.com/${name}.zip";
sha256 = "1dmmjhxxc0bj2755yksiiwh275vmnyciknr9b995lmdkjgh7sz6n";
};
buildInputs = [unzip];
buildInputs = [ unzip ];
phases = [ "unpackPhase" "installPhase" ];
sourceRoot = name;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -v *.ttf $out/share/fonts/truetype
mkdir -vp $out/share/fonts/truetype $out/share/fonts/opentype $out/share/fonts/EOT $out/share/fonts/WOFF $out/share/fonts/WOFF2 $out/share/doc/${name}
cp -v OTF/*.otf $out/share/fonts/opentype
cp -v Web/*.ttf $out/share/fonts/truetype
cp -v Web/*.eot $out/share/fonts/EOT
cp -v Web/*.woff $out/share/fonts/WOFF
cp -v Web/*.woff2 $out/share/fonts/WOFF2
cp -v Booklet-ComicNeue.pdf FONTLOG.txt OFL-FAQ.txt SIL-License.txt $out/share/doc/${name}
'';
meta = with stdenv.lib; {
@@ -27,7 +34,8 @@ stdenv.mkDerivation rec {
the latter angular terminals. Both variants come in Light,
Regular, and Bold weights with Oblique variants.
'';
license = licenses.cc0;
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.AndersonTorres ];
};
}
+1 -1
View File
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "A monospace bitmap font aimed at programmers.";
description = "A monospace bitmap font aimed at programmers";
longDescription = ''
Dina is a monospace bitmap font, primarily aimed at programmers. It is
relatively compact to allow a lot of code on screen, while (hopefully)