nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 39 lines 1.7 kB view raw
1{ lib, stdenv, fetchzip }: 2 3stdenv.mkDerivation rec { 4 pname = "comic-neue"; 5 version = "2.51"; 6 7 src = fetchzip { 8 url = "http://comicneue.com/${pname}-${version}.zip"; 9 sha256 = "sha256-DjRZtFnJOtZnxhfpgU5ihZFAonRK608/BQztCAExIU0="; 10 stripRoot = false; # because it comes with a __MACOSX directory 11 }; 12 13 installPhase = '' 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 23 ''; 24 25 meta = with lib; { 26 homepage = "http://comicneue.com/"; 27 description = "A casual type face: Make your lemonade stand look like a fortune 500 company"; 28 longDescription = '' 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. 34 ''; 35 license = licenses.ofl; 36 platforms = platforms.all; 37 maintainers = [ maintainers.AndersonTorres ]; 38 }; 39}