summary refs log tree commit diff
path: root/pkgs/data/fonts/comic-neue
diff options
context:
space:
mode:
authorRĂ¼diger Sonderfeld <ruediger@c-plusplus.de>2014-08-19 15:03:21 +0200
committerRĂ¼diger Sonderfeld <ruediger@c-plusplus.de>2014-08-28 13:05:45 +0200
commit57c8f292324ffa525daf6d94c4d4af581cd6b9cf (patch)
treedf20ff3e334431a9587d30ccc0733dab9aecf8e6 /pkgs/data/fonts/comic-neue
parentae9afc4d31a8d44d062954b6885ade6900a32a3a (diff)
downloadnixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar.gz
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar.bz2
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar.lz
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar.xz
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.tar.zst
nixpkgs-57c8f292324ffa525daf6d94c4d4af581cd6b9cf.zip
Add comic-neue font.
Diffstat (limited to 'pkgs/data/fonts/comic-neue')
-rw-r--r--pkgs/data/fonts/comic-neue/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/data/fonts/comic-neue/default.nix b/pkgs/data/fonts/comic-neue/default.nix
new file mode 100644
index 00000000000..91608d17db4
--- /dev/null
+++ b/pkgs/data/fonts/comic-neue/default.nix
@@ -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;
+  };
+}