1{ lib, stdenv, fetchurl }:
2stdenv.mkDerivation rec {
3 pname = "psftools";
4 version = "1.1.1";
5 src = fetchurl {
6 url = "https://www.seasip.info/Unix/PSF/${pname}-${version}.tar.gz";
7 sha256 = "sha256-MecY4JsIXTgHdkrFkQ+C3fC6OEFRUgjUgf7qxfKeZtM=";
8 };
9 outputs = ["out" "man" "dev" "lib"];
10
11 meta = with lib; {
12 homepage = "https://www.seasip.info/Unix/PSF";
13 description = "Conversion tools for .PSF fonts";
14 longDescription = ''
15 The PSFTOOLS are designed to manipulate fixed-width bitmap fonts,
16 such as DOS or Linux console fonts. Both the PSF1 (8 pixels wide)
17 and PSF2 (any width) formats are supported; the default output
18 format is PSF2.
19 '';
20 platforms = platforms.unix;
21 license = licenses.gpl2Plus;
22 maintainers = with maintainers; [ kaction ];
23 };
24}