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:
parent
5395710d3e
commit
f82a0576ea
20
pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix
Normal file
20
pkgs/tools/misc/ttf2pt1/ttf2pt1-cl-pdf.nix
Normal 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;
|
||||||
|
};
|
||||||
|
})
|
|
@ -1194,6 +1194,7 @@ let
|
||||||
tor = callPackage ../tools/security/tor { };
|
tor = callPackage ../tools/security/tor { };
|
||||||
|
|
||||||
ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };
|
ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { };
|
||||||
|
ttf2pt1_cl_pdf = callPackage ../tools/misc/ttf2pt1 { };
|
||||||
|
|
||||||
ucl = callPackage ../development/libraries/ucl { };
|
ucl = callPackage ../development/libraries/ucl { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue