depot/third_party/nixpkgs/pkgs/data/fonts/fixedsys-excelsior/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
935 B
Nix

{ lib, fetchurl } :
let
major = "3";
minor = "00";
version = "${major}.${minor}";
in fetchurl rec {
name = "fixedsys-excelsior-${version}";
urls = [
"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"
];
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -m444 -D $downloadedFile $out/share/fonts/truetype/${name}.ttf
'';
sha256 = "32d6f07f1ff08c764357f8478892b2ba5ade23427af99759f34a0ba24bcd2e37";
meta = {
description = "Pan-unicode version of Fixedsys, a classic DOS font";
homepage = "http://www.fixedsysexcelsior.com/";
platforms = lib.platforms.all;
license = lib.licenses.publicDomain;
maintainers = [ lib.maintainers.ninjatrappeur ];
};
}