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

24 lines
689 B
Nix
Raw Normal View History

{ lib, fetchzip }:
let
version = "12.1.03";
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 = "1w0bg276cyv6xs6clld8gv4w88rj9fw9rc8zs9ahc6y9hv677knj";
meta = with lib; {
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
homepage = "http://unifoundry.com/unifont.html";
# Basically GPL2+ with font exception.
license = "http://unifoundry.com/LICENSE.txt";
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
platforms = platforms.all;
};
}