depot/third_party/nixpkgs/pkgs/data/fonts/unifont_upper/default.nix

24 lines
687 B
Nix
Raw Normal View History

{ lib, fetchzip }:
let
version = "13.0.06";
in fetchzip rec {
name = "unifont_upper-${version}";
url = "mirror://gnu/unifont/unifont-${version}/${name}.ttf";
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
sha256 = "0bqw30h5b787dw8bn1dj8shz22mlxr1zmcfp68fpyll5vg02540n";
meta = with lib; {
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
homepage = "https://unifoundry.com/unifont/";
# Basically GPL2+ with font exception.
license = "https://unifoundry.com/LICENSE.txt";
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
platforms = platforms.all;
};
}