From c9c55bd3fd0645463017b69854da4b6c0bf77feb Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 28 Apr 2008 10:08:40 +0000 Subject: [PATCH] Added Linux Libertine font svn path=/nixpkgs/trunk/; revision=11738 --- pkgs/data/fonts/libertine/2.7.bin.nix | 17 +++++++++++++++++ pkgs/data/fonts/libertine/2.7.nix | 21 +++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/data/fonts/libertine/2.7.bin.nix create mode 100644 pkgs/data/fonts/libertine/2.7.nix diff --git a/pkgs/data/fonts/libertine/2.7.bin.nix b/pkgs/data/fonts/libertine/2.7.bin.nix new file mode 100644 index 000000000000..c88659e4371a --- /dev/null +++ b/pkgs/data/fonts/libertine/2.7.bin.nix @@ -0,0 +1,17 @@ +args: with args; +rec{ + src = fetchurl { + url = http://downloads.sourceforge.net/linuxlibertine/LinLibertineFont-2.7.tgz; + sha256 = "06xm3np2xx41fr2yc00q0z2qy9s6p860f18ns1f1f00vi54dm4c5"; + }; + + buildInputs = []; + phaseNames = ["doUnpack" "installFonts"]; + + name = "linux-libertine-" + version; + meta = { + description = "Linux Libertine Fonts"; + homepage = http://linuxlibertine.sf.net; + }; +} + diff --git a/pkgs/data/fonts/libertine/2.7.nix b/pkgs/data/fonts/libertine/2.7.nix new file mode 100644 index 000000000000..3210f20d5018 --- /dev/null +++ b/pkgs/data/fonts/libertine/2.7.nix @@ -0,0 +1,21 @@ +args : with args; +rec { + src = fetchurl { + url = http://downloads.sourceforge.net/linuxlibertine/LinLibertineSRC-2.7.tgz; + sha256 = "1czc3pil4zrii6qh6zk0g6hj6axj20gfnpbbdfrzm703wm9w70ic"; + }; + + buildInputs = [fontforge]; + configureFlags = []; + + /* doConfigure should be specified separately */ + phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"]; + + createTTF=false; + + name = "linux-libertine-" + version; + meta = { + description = "Linux Libertine Fonts"; + homepage = http://linuxlibertine.sf.net; + }; +}