3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/unifont_upper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
735 B
Nix
Raw Normal View History

2022-06-15 23:28:23 +01:00
{ lib, fetchurl }:
2015-10-18 06:05:26 +01:00
2017-08-10 20:43:49 +01:00
let
2022-09-14 22:12:19 +01:00
version = "15.0.01";
2022-06-15 23:28:23 +01:00
in fetchurl rec {
2017-08-10 20:43:49 +01:00
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
2022-06-15 23:28:23 +01:00
downloadToTemp = true;
recursiveHash = true;
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
2022-09-14 22:12:19 +01:00
hash = "sha256-cGX9umTGRfrQT3gwPgNqxPHB7Un3ZT3b7hPy4IP45Fk=";
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";
2021-08-05 21:57:53 +01:00
homepage = "https://unifoundry.com/unifont/";
2015-10-18 06:05:26 +01:00
# Basically GPL2+ with font exception.
2021-08-05 21:57:53 +01:00
license = "https://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;
};
}