| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  | { lib, stdenv, fetchzip }: | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  | stdenv.mkDerivation rec { | 
					
						
							|  |  |  |   pname = "comic-neue"; | 
					
						
							| 
									
										
										
										
											2020-10-10 01:57:12 -03:00
										 |  |  |   version = "2.51"; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |   src = fetchzip { | 
					
						
							|  |  |  |     url = "http://comicneue.com/${pname}-${version}.zip"; | 
					
						
							| 
									
										
										
										
											2020-10-10 01:57:12 -03:00
										 |  |  |     sha256 = "sha256-DjRZtFnJOtZnxhfpgU5ihZFAonRK608/BQztCAExIU0="; | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |     stripRoot = false; # because it comes with a __MACOSX directory | 
					
						
							|  |  |  |   }; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |   phases = [ "unpackPhase" "installPhase" ]; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |   installPhase = ''
 | 
					
						
							| 
									
										
										
										
											2020-10-10 01:57:12 -03:00
										 |  |  |     mkdir -pv $out/share/{doc/${pname}-${version},fonts/{opentype,truetype,WOFF,WOFF2}} | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |     cp -v ${pname}-${version}/{FONTLOG,OFL-FAQ,OFL}.txt $out/share/doc/ | 
					
						
							| 
									
										
										
										
											2020-10-10 01:57:12 -03:00
										 |  |  |     cp -v ${pname}-${version}/Booklet-ComicNeue.pdf $out/share/doc/ | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |     cp -v ${pname}-${version}/OTF/ComicNeue-Angular/*.otf $out/share/fonts/opentype
 | 
					
						
							|  |  |  |     cp -v ${pname}-${version}/OTF/ComicNeue/*.otf $out/share/fonts/opentype
 | 
					
						
							|  |  |  |     cp -v ${pname}-${version}/TTF/ComicNeue-Angular/*.ttf $out/share/fonts/truetype
 | 
					
						
							|  |  |  |     cp -v ${pname}-${version}/TTF/ComicNeue/*.ttf $out/share/fonts/truetype
 | 
					
						
							| 
									
										
										
										
											2020-10-10 01:57:12 -03:00
										 |  |  |     cp -v ${pname}-${version}/WebFonts/*.woff $out/share/fonts/WOFF
 | 
					
						
							|  |  |  |     cp -v ${pname}-${version}/WebFonts/*.woff2 $out/share/fonts/WOFF2
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |   '';
 | 
					
						
							| 
									
										
										
										
											2017-08-10 19:43:49 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-11 08:54:33 +01:00
										 |  |  |   meta = with lib; { | 
					
						
							| 
									
										
										
										
											2020-03-31 21:11:51 -04:00
										 |  |  |     homepage = "http://comicneue.com/"; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  |     description = "A casual type face: Make your lemonade stand look like a fortune 500 company"; | 
					
						
							|  |  |  |     longDescription = ''
 | 
					
						
							| 
									
										
										
										
											2020-09-14 01:25:40 -03:00
										 |  |  |       ComicNeue is inspired by Comic Sans but more regular. It 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, | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  |       Regular, and Bold weights with Oblique variants. | 
					
						
							|  |  |  |     '';
 | 
					
						
							| 
									
										
										
										
											2015-04-20 03:32:12 -03:00
										 |  |  |     license = licenses.ofl; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  |     platforms = platforms.all; | 
					
						
							| 
									
										
										
										
											2015-04-20 03:32:12 -03:00
										 |  |  |     maintainers = [ maintainers.AndersonTorres ]; | 
					
						
							| 
									
										
										
										
											2014-08-19 15:03:21 +02:00
										 |  |  |   }; | 
					
						
							|  |  |  | } |