1{ lib, stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 pname = "t1utils";
5 version = "1.42";
6
7 src = fetchurl {
8 url = "https://www.lcdf.org/type/t1utils-${version}.tar.gz";
9 sha256 = "YYd5NbGYcETd/0u5CgUgDKcWRnijVeFwv18aVVbMnyk=";
10 };
11
12 meta = with lib; {
13 description = "Collection of simple Type 1 font manipulation programs";
14 longDescription = ''
15 t1utils is a collection of simple type-1 font manipulation programs.
16 Together, they allow you to convert between PFA (ASCII) and PFB (binary)
17 formats, disassemble PFA or PFB files into human-readable form,
18 reassemble them into PFA or PFB format. Additionally you can extract font
19 resources from a Macintosh font file or create a Macintosh Type 1 font
20 file from a PFA or PFB font.
21 '';
22 homepage = "https://www.lcdf.org/type/";
23 license = {
24 shortName = "Click"; # README.md says BSD-like, see LICENSE
25 url = "https://github.com/kohler/t1utils/blob/master/LICENSE";
26 free = true;
27 redistributable = true;
28 };
29 platforms = platforms.all;
30 maintainers = [ maintainers.bjornfor ];
31 };
32}