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