forked from mirrors/nixpkgs
c9eb44eab3
* 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
21 lines
490 B
Nix
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;
|
|
};
|
|
}
|