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 # README from tarball says "BSD-like" and points to non-existing LICENSE
24 # file...
25 license = "Click"; # MIT with extra clause, https://github.com/kohler/t1utils/blob/master/LICENSE
26 platforms = platforms.all;
27 maintainers = [ maintainers.bjornfor ];
28 };
29}