1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

Merge pull request #3675 from ruediger/add/comic-neue

Add CC0 license and Comic Neue font
This commit is contained in:
lethalman 2014-08-28 13:13:40 +02:00
commit 743c2c7786
3 changed files with 40 additions and 0 deletions

View file

@ -62,6 +62,11 @@ rec {
fullName = ''BSD 4-clause "Original" or "Old" License''; fullName = ''BSD 4-clause "Original" or "Old" License'';
}; };
cc0 = spdx {
shortName = "CC0-1.0";
fullName = ''Creative Commons Zero v1.0 Universal'';
};
cc-by-30 = spdx { cc-by-30 = spdx {
shortName = "CC-BY-3.0"; shortName = "CC-BY-3.0";
fullName = "Creative Commons Attribution 3.0"; fullName = "Creative Commons Attribution 3.0";

View file

@ -0,0 +1,33 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "comic-neue-1.1";
src = fetchurl {
url = "http://comicneue.com/comic-neue-1.1.zip";
sha256 = "f9442fc42252db62ea788bd0247ae0e74571678d1dbd3e3edc229389050d6923";
};
buildInputs = [unzip];
phases = [ "unpackPhase" "installPhase" ];
sourceRoot = name;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp -v *.ttf $out/share/fonts/truetype
'';
meta = with stdenv.lib; {
homepage = http://comicneue.com/;
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.
'';
license = licenses.cc0;
platforms = platforms.all;
};
}

View file

@ -8004,6 +8004,8 @@ let
cantarell_fonts = callPackage ../data/fonts/cantarell-fonts { }; cantarell_fonts = callPackage ../data/fonts/cantarell-fonts { };
comic-neue = callPackage ../data/fonts/comic-neue { };
corefonts = callPackage ../data/fonts/corefonts { }; corefonts = callPackage ../data/fonts/corefonts { };
wrapFonts = paths : ((import ../data/fonts/fontWrap) { wrapFonts = paths : ((import ../data/fonts/fontWrap) {