2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2014-05-07 09:56:41 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2015-06-12 00:17:53 +02:00
|
|
|
version = "0.016";
|
2017-08-10 21:43:49 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "eb-garamond-${version}";
|
2014-05-07 09:56:41 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
2014-05-07 09:56:41 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/{doc,fonts}
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
|
|
unzip -j $downloadedFile \*Changes \*README.markdown \*README.xelualatex -d "$out/share/doc/${name}"
|
2015-06-12 00:17:53 +02:00
|
|
|
'';
|
2014-05-07 09:56:41 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.georgduffner.at/ebgaramond/";
|
2014-05-07 09:56:41 +02:00
|
|
|
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
|
2015-06-12 00:17:53 +02:00
|
|
|
maintainers = with maintainers; [ relrod rycee ];
|
2014-05-07 09:56:41 +02:00
|
|
|
license = licenses.ofl;
|
2015-06-12 00:17:53 +02:00
|
|
|
platforms = platforms.all;
|
2014-05-07 09:56:41 +02:00
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
}
|