Merge pull request #82044 from ivan-timokhin/junicode-1.002

junicode: update to 1.002 and correct license
This commit is contained in:
Timo Kaufmann 2020-04-06 09:11:13 +00:00 committed by GitHub
commit 1af2f11633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 5 deletions

View File

@ -3239,6 +3239,12 @@
githubId = 4458; githubId = 4458;
name = "Ivan Kozik"; name = "Ivan Kozik";
}; };
ivan-timokhin = {
email = "nixpkgs@ivan.timokhin.name";
name = "Ivan Timokhin";
github = "ivan-timokhin";
githubId = 9802104;
};
ivan-tkatchev = { ivan-tkatchev = {
email = "tkatchev@gmail.com"; email = "tkatchev@gmail.com";
name = "Ivan Tkatchev"; name = "Ivan Tkatchev";

View File

@ -1,20 +1,24 @@
{ lib, fetchzip }: { lib, fetchzip }:
fetchzip { let
name = "junicode-0.7.8"; pname = "junicode";
version = "1.002";
in fetchzip {
name = "${pname}-${version}";
url = mirror://sourceforge/junicode/junicode/junicode-0-7-8/junicode-0-7-8.zip; url = "mirror://sourceforge/junicode/junicode/junicode-${version}/junicode-${version}.zip";
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf unzip -j $downloadedFile \*.ttf -d $out/share/fonts/junicode-ttf
''; '';
sha256 = "0q4si9pnbif36154sv49kzc7ygivgflv81nzmblpz3b2p77g9956"; sha256 = "1n170gw41lr0zr5958z5cgpg6i1aa7kj7iq9s6gdh1cqq7hhgd08";
meta = { meta = {
homepage = http://junicode.sourceforge.net/; homepage = http://junicode.sourceforge.net/;
description = "A Unicode font for medievalists"; description = "A Unicode font for medievalists";
license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ivan-timokhin ];
license = lib.licenses.ofl;
}; };
} }