diff options
author | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-17 23:05:26 -0600 |
---|---|---|
committer | Mathnerd314 <mathnerd314.gph+hs@gmail.com> | 2015-10-18 18:43:28 -0600 |
commit | ce3214a4c9a8ee891458ba4c73df9346a3d93f45 (patch) | |
tree | 46c5bdc003453dd459d05a1460fc817f78e0960f /pkgs/data | |
parent | 9cc60e1c27d4f1d1c4411ee86d972c4b5f15ce78 (diff) |
unifont_upper: init at 8.0.01
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/unifont_upper/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/data/fonts/unifont_upper/default.nix b/pkgs/data/fonts/unifont_upper/default.nix new file mode 100644 index 0000000000000..7dff5f82a6e54 --- /dev/null +++ b/pkgs/data/fonts/unifont_upper/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "unifont_upper-${version}"; + version = "8.0.01"; + + ttf = fetchurl { + url = "http://unifoundry.com/pub/unifont-8.0.01/font-builds/${name}.ttf"; + sha256 = "0ffqm85bk345pnql1x0rbg0z31472y844xibb27njjg4avb21lga"; + }; + + phases = "installPhase"; + + installPhase = + '' + mkdir -p $out/share/fonts/truetype + cp -v ${ttf} $out/share/fonts/truetype/unifont_upper.ttf + ''; + + 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; + maintainers = [ maintainers.mathnerd314 ]; + platforms = platforms.all; + }; +} |