diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/unifont_upper/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/unifont_upper/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/unifont_upper/default.nix b/nixpkgs/pkgs/data/fonts/unifont_upper/default.nix new file mode 100644 index 000000000000..29ba4bfb5402 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/unifont_upper/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchzip }: + +let + version = "10.0.06"; +in fetchzip rec { + name = "unifont_upper-${version}"; + + url = "http://unifoundry.com/pub/unifont-${version}/font-builds/${name}.ttf"; + + postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf"; + + sha256 = "13x5z8iyh9xz5fllcy89yinnz1iy16a2pjf3vip66nz10sq8crlr"; + + 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 maintainers.vrthra ]; + platforms = platforms.all; + }; +} |