1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation rec {
8 url = "http://comicneue.com/${pname}-${version}.zip";
9 sha256 = "sha256-DjRZtFnJOtZnxhfpgU5ihZFAonRK608/BQztCAExIU0=";
10 stripRoot = false; # because it comes with a __MACOSX directory
14 mkdir -pv $out/share/{doc/${pname}-${version},fonts/{opentype,truetype,WOFF,WOFF2}}
15 cp -v ${pname}-${version}/{FONTLOG,OFL-FAQ,OFL}.txt $out/share/doc/
16 cp -v ${pname}-${version}/Booklet-ComicNeue.pdf $out/share/doc/
17 cp -v ${pname}-${version}/OTF/ComicNeue-Angular/*.otf $out/share/fonts/opentype
18 cp -v ${pname}-${version}/OTF/ComicNeue/*.otf $out/share/fonts/opentype
19 cp -v ${pname}-${version}/TTF/ComicNeue-Angular/*.ttf $out/share/fonts/truetype
20 cp -v ${pname}-${version}/TTF/ComicNeue/*.ttf $out/share/fonts/truetype
21 cp -v ${pname}-${version}/WebFonts/*.woff $out/share/fonts/WOFF
22 cp -v ${pname}-${version}/WebFonts/*.woff2 $out/share/fonts/WOFF2
26 homepage = "http://comicneue.com/";
27 description = "Casual type face: Make your lemonade stand look like a fortune 500 company";
29 ComicNeue is inspired by Comic Sans but more regular. It was
30 designed by Craig Rozynski. It is available in two variants:
31 Comic Neue and Comic Neue Angular. The former having round and
32 the latter angular terminals. Both variants come in Light,
33 Regular, and Bold weights with Oblique variants.
35 license = licenses.ofl;
36 platforms = platforms.all;
37 maintainers = [ maintainers.AndersonTorres ];