3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix
Michael Raskin f82a0576ea Add ttf2pt1-cl-pdf which produces unicode maps for fonts
svn path=/nixpkgs/trunk/; revision=23883
2010-09-21 14:35:07 +00:00

21 lines
497 B
Nix

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