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

24 lines
712 B
Nix
Raw Normal View History

2017-08-10 21:43:49 +02:00
{ stdenv, fetchzip }:
2015-10-18 07:05:26 +02:00
2017-08-10 21:43:49 +02:00
let
version = "10.0.06";
2017-08-10 21:43:49 +02:00
in fetchzip rec {
name = "unifont_upper-${version}";
2015-10-18 07:05:26 +02:00
2017-08-10 21:43:49 +02:00
url = "http://unifoundry.com/pub/unifont-${version}/font-builds/${name}.ttf";
2015-10-18 07:05:26 +02:00
2017-08-10 21:43:49 +02:00
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
2015-10-18 07:05:26 +02:00
sha256 = "13x5z8iyh9xz5fllcy89yinnz1iy16a2pjf3vip66nz10sq8crlr";
2015-10-18 07:05:26 +02: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 19:34:21 +02:00
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
2015-10-18 07:05:26 +02:00
platforms = platforms.all;
};
}