nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchurl }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "fixedsys-excelsior";
5 version = "3.00";
6
7 src = fetchurl {
8 url = "https://raw.githubusercontent.com/chrissimpkins/codeface/master/fonts/fixed-sys-excelsior/FSEX300.ttf";
9 hash = "sha256-buDzVzvF4z6TthbvYoL0m8DiJ6Map1Osdu0uPz0CBW0=";
10 };
11
12 dontUnpack = true;
13
14 installPhase = ''
15 runHook preInstall
16
17 install -m444 -D $src $out/share/fonts/truetype/${pname}-${version}.ttf
18
19 runHook postInstall
20 '';
21
22 meta = {
23 homepage = "http://www.fixedsysexcelsior.com/";
24 description = "Pan-unicode version of Fixedsys, a classic DOS font";
25 platforms = lib.platforms.all;
26 license = lib.licenses.publicDomain;
27 maintainers = [ lib.maintainers.ninjatrappeur ];
28 };
29}