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

24 lines
689 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2015-10-18 06:05:26 +01:00
2017-08-10 20:43:49 +01:00
let
2019-08-12 11:08:05 +01:00
version = "12.1.03";
2017-08-10 20:43:49 +01:00
in fetchzip rec {
name = "unifont_upper-${version}";
2015-10-18 06:05:26 +01:00
url = "mirror://gnu/unifont/unifont-${version}/${name}.ttf";
2015-10-18 06:05:26 +01:00
2017-08-10 20:43:49 +01:00
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
2015-10-18 06:05:26 +01:00
2019-08-12 11:08:05 +01:00
sha256 = "1w0bg276cyv6xs6clld8gv4w88rj9fw9rc8zs9ahc6y9hv677knj";
2015-10-18 06:05:26 +01:00
meta = with lib; {
2015-10-18 06:05:26 +01:00
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
homepage = "http://unifoundry.com/unifont.html";
2015-10-18 06:05:26 +01:00
# Basically GPL2+ with font exception.
license = "http://unifoundry.com/LICENSE.txt";
2016-07-04 18:34:21 +01:00
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
2015-10-18 06:05:26 +01:00
platforms = platforms.all;
};
}