2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchurl } :
|
2018-02-15 11:36:21 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
let
|
2018-02-15 11:36:21 +00:00
|
|
|
major = "3";
|
|
|
|
minor = "00";
|
|
|
|
version = "${major}.${minor}";
|
2019-05-13 02:55:32 +01:00
|
|
|
in fetchurl rec {
|
2018-02-15 11:36:21 +00:00
|
|
|
name = "fixedsys-excelsior-${version}";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
urls = [
|
2020-04-01 02:11:51 +01:00
|
|
|
"http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf"
|
|
|
|
"https://raw.githubusercontent.com/chrissimpkins/codeface/master/fonts/fixed-sys-excelsior/FSEX300.ttf"
|
|
|
|
"http://tarballs.nixos.org/sha256/6ee0f3573bc5e33e93b616ef6282f49bc0e227a31aa753ac76ed2e3f3d02056d"
|
2019-05-13 02:55:32 +01:00
|
|
|
];
|
|
|
|
downloadToTemp = true;
|
|
|
|
recursiveHash = true;
|
|
|
|
postFetch = ''
|
|
|
|
install -m444 -D $downloadedFile $out/share/fonts/truetype/${name}.ttf
|
2018-02-15 11:36:21 +00:00
|
|
|
'';
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "32d6f07f1ff08c764357f8478892b2ba5ade23427af99759f34a0ba24bcd2e37";
|
2018-02-15 11:36:21 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Pan-unicode version of Fixedsys, a classic DOS font";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.fixedsysexcelsior.com/";
|
2021-01-15 07:29:18 +00:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
license = lib.licenses.publicDomain;
|
|
|
|
maintainers = [ lib.maintainers.ninjatrappeur ];
|
2018-02-15 11:36:21 +00:00
|
|
|
};
|
|
|
|
}
|