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

24 lines
685 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2015-10-17 22:05:26 -07:00
2017-08-10 12:43:49 -07:00
let
version = "12.1.02";
2017-08-10 12:43:49 -07:00
in fetchzip rec {
name = "unifont_upper-${version}";
2015-10-17 22:05:26 -07:00
url = "mirror://gnu/unifont/unifont-${version}/${name}.ttf";
2015-10-17 22:05:26 -07:00
2017-08-10 12:43:49 -07:00
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
2015-10-17 22:05:26 -07:00
sha256 = "1bpzsgn64762sjkx4hssbm4qw0c1szwli38pch7r8z8hk4mgcv92";
2015-10-17 22:05:26 -07:00
meta = with lib; {
2015-10-17 22:05:26 -07:00
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;
2016-07-04 10:34:21 -07:00
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
2015-10-17 22:05:26 -07:00
platforms = platforms.all;
};
}