3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/comic-neue/default.nix

37 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, fetchzip }:
2014-08-19 14:03:21 +01:00
2017-08-10 20:43:49 +01:00
let
2019-11-05 04:00:00 +00:00
version = "2.3";
2017-08-10 20:43:49 +01:00
in fetchzip rec {
name = "comic-neue-${version}";
2014-08-19 14:03:21 +01:00
2017-08-10 20:43:49 +01:00
url = "http://comicneue.com/${name}.zip";
2014-08-19 14:03:21 +01:00
2017-08-10 20:43:49 +01:00
postFetch = ''
mkdir -vp $out/share/{doc,fonts}
2019-11-05 04:00:00 +00:00
unzip -j $downloadedFile OTF/\*.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile Web/\*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile Web/\*.eot -d $out/share/fonts/EOT
unzip -j $downloadedFile Web/\*.woff -d $out/share/fonts/WOFF
unzip -j $downloadedFile Web/\*.woff2 -d $out/share/fonts/WOFF2
unzip -j $downloadedFile \*.pdf FONTLOG.txt OFL-FAQ.txt SIL-License.txt -d $out/share/doc/${name}
2014-08-19 14:03:21 +01:00
'';
2019-11-05 04:00:00 +00:00
sha256 = "1gs4vhys0m3qsw06qaxzyi81f06w5v66kbyl64yw3pq2rb656779";
2017-08-10 20:43:49 +01:00
meta = with lib; {
homepage = "http://comicneue.com/";
2014-08-19 14:03:21 +01:00
description = "A casual type face: Make your lemonade stand look like a fortune 500 company";
longDescription = ''
It is inspired by Comic Sans but more regular. The font was
designed by Craig Rozynski. It is available in two variants:
Comic Neue and Comic Neue Angular. The former having round and
the latter angular terminals. Both variants come in Light,
Regular, and Bold weights with Oblique variants.
'';
2015-04-20 07:32:12 +01:00
license = licenses.ofl;
2014-08-19 14:03:21 +01:00
platforms = platforms.all;
2015-04-20 07:32:12 +01:00
maintainers = [ maintainers.AndersonTorres ];
2014-08-19 14:03:21 +01:00
};
}