3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/junicode/default.nix
volth c9eb44eab3 data/fonts: cleanup
* make font derivations fixed-output where applicable
 * fix dead links
 * `stdenv.lib` -> `lib` where `stdenv` is not involved
 * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
2019-05-13 06:03:31 +00:00

21 lines
490 B
Nix

{ lib, fetchzip }:
fetchzip {
name = "junicode-0.7.8";
url = mirror://sourceforge/junicode/junicode/junicode-0-7-8/junicode-0-7-8.zip;
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
'';
sha256 = "0q4si9pnbif36154sv49kzc7ygivgflv81nzmblpz3b2p77g9956";
meta = {
homepage = http://junicode.sourceforge.net/;
description = "A Unicode font for medievalists";
license = lib.licenses.gpl2Plus;
};
}