about summary refs log tree commit diff
path: root/pkgs/tools/misc/ttf2pt1
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
commit66097104090e06c43a784193809bc8843a2ec052 (patch)
tree021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/tools/misc/ttf2pt1
parentb4a3f99c7812a6c8bc34979200693b7010afffcc (diff)
* Get rid of many instances of "args: with args;", and other coding
  guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
Diffstat (limited to 'pkgs/tools/misc/ttf2pt1')
-rw-r--r--pkgs/tools/misc/ttf2pt1/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/misc/ttf2pt1/default.nix b/pkgs/tools/misc/ttf2pt1/default.nix
index 870c5b1e121f1..c112afaee0f43 100644
--- a/pkgs/tools/misc/ttf2pt1/default.nix
+++ b/pkgs/tools/misc/ttf2pt1/default.nix
@@ -1,4 +1,5 @@
-args: with args;
+{ stdenv, fetchurl, perl, freetype }:
+
 stdenv.mkDerivation {
   name = "ttf2pt1-3.4.4";
 
@@ -17,12 +18,13 @@ stdenv.mkDerivation {
     makeFlags="INSTDIR=$out OWNER=`id -u`"
   '';
 
-  buildInputs = [freetype];
+  buildInputs = [ freetype ];
+  
   patches = ./gentoo-makefile.patch; # also contains the freetype patch
 
   meta = { 
-      description = "True Type to Postscript Type 3 converter, fpdf";
-      homepage = "http://ttf2pt1.sourceforge.net/index.html";
-      license = "ttf2pt1";
+    description = "True Type to Postscript Type 3 converter, fpdf";
+    homepage = "http://ttf2pt1.sourceforge.net/index.html";
+    license = "ttf2pt1";
   };
 }