3
0
Fork 0
forked from mirrors/nixpkgs

Add ttf2pt1-cl-pdf which produces unicode maps for fonts

svn path=/nixpkgs/trunk/; revision=23883
This commit is contained in:
Michael Raskin 2010-09-21 14:35:07 +00:00
parent 5395710d3e
commit f82a0576ea
2 changed files with 21 additions and 0 deletions

View file

@ -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;
};
})

View file

@ -1194,6 +1194,7 @@ let
tor = callPackage ../tools/security/tor { };
ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };
ttf2pt1_cl_pdf = callPackage ../tools/misc/ttf2pt1 { };
ucl = callPackage ../development/libraries/ucl { };