From 0160fb04ed5c29f38ed106a0eab5ae1e603833f5 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sat, 5 Jul 2008 05:26:58 +0000 Subject: [PATCH] Added ArkPandora fonts svn path=/nixpkgs/trunk/; revision=12264 --- pkgs/data/fonts/arkpandora/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/data/fonts/arkpandora/default.nix diff --git a/pkgs/data/fonts/arkpandora/default.nix b/pkgs/data/fonts/arkpandora/default.nix new file mode 100644 index 000000000000..02ee3346346e --- /dev/null +++ b/pkgs/data/fonts/arkpandora/default.nix @@ -0,0 +1,19 @@ +args : with args; +let version = lib.getAttr ["version"] "2.04" args; in +rec { + src = fetchurl { + url = "http://www.users.bigpond.net.au/gavindi/ttf-arkpandora-${version}.tgz"; + sha256 = "16mfxwlgn6vs3xn00hha5dnmz6bhjiflq138y4zcq3yhk0y9bz51"; + }; + + buildInputs = []; + configureFlags = []; + + /* doConfigure should be specified separately */ + phaseNames = ["doUnpack" "installFonts"]; + + name = "arkpandora-" + version; + meta = { + description = "ArkPandora fonts, metrically identical to Arial and Times New Roman."; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 12108ec4df83..f37002655017 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5332,6 +5332,8 @@ let pkgs = rec { ### DATA + arkpandora_ttf = builderDefsPackage (import ../data/fonts/arkpandora) { + } null; bakoma_ttf = import ../data/fonts/bakoma-ttf { inherit fetchurl stdenv;