diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-09-21 14:35:07 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-09-21 14:35:07 +0000 |
commit | f82a0576ea068fe54932463480b0c5d49dd0b666 (patch) | |
tree | ebac1f520a5b7190748f052229c593701bb77d93 /pkgs/tools/misc/ttf2pt1 | |
parent | 5395710d3e740c73d20e9e4fba3eea0c0168cbf2 (diff) |
Add ttf2pt1-cl-pdf which produces unicode maps for fonts
svn path=/nixpkgs/trunk/; revision=23883
Diffstat (limited to 'pkgs/tools/misc/ttf2pt1')
-rw-r--r-- | pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix b/pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix new file mode 100644 index 0000000000000..97a052db20db5 --- /dev/null +++ b/pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix @@ -0,0 +1,20 @@ +{ttf2pt1, lib, fetchurl, unzip}: + +lib.overrideDerivation ttf2pt1 +(x: +{ + name = "ttf2pt1-cl-pdf"; + src = fetchurl { + url = "http://www.fractalconcept.com/fcweb/download/ttf2pt1-src.zip"; + sha256 = "1w6kxgnrj3x67lf346bswmcqny9lmyhbnkp6kv99l6wfaq4gs82b"; + }; + buildInputs = x.buildInputs ++ [unzip]; + sourceRoot = "ttf2pt1-cl-pdf"; + preBuild = '' + chmod a+x scripts/* + ''; + meta = x.meta // { + maintainers = [lib.maintainers.raskin]; + platforms = lib.platforms.linux; + }; +}) |