about summary refs log tree commit diff
path: root/pkgs/data/fonts/fixedsys-excelsior/default.nix
blob: 53592152a3334691383e0b9c3a1aae96edb61465 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenvNoCC, fetchurl }:

stdenvNoCC.mkDerivation rec {
  pname = "fixedsys-excelsior";
  version = "3.00";

  src = fetchurl {
    url = "https://raw.githubusercontent.com/chrissimpkins/codeface/master/fonts/fixed-sys-excelsior/FSEX300.ttf";
    hash = "sha256-buDzVzvF4z6TthbvYoL0m8DiJ6Map1Osdu0uPz0CBW0=";
  };

  dontUnpack = true;

  installPhase = ''
    runHook preInstall

    install -m444 -D $src $out/share/fonts/truetype/${pname}-${version}.ttf

    runHook postInstall
  '';

  meta = {
    homepage = "http://www.fixedsysexcelsior.com/";
    description = "Pan-unicode version of Fixedsys, a classic DOS font";
    platforms = lib.platforms.all;
    license = lib.licenses.publicDomain;
    maintainers = [ lib.maintainers.ninjatrappeur ];
  };
}