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

24 lines
695 B
Nix
Raw Normal View History

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