2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip }:
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
let
|
2015-06-11 22:17:53 +00:00
|
|
|
version = "0.016";
|
2017-08-10 19:43:49 +00:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "eb-garamond-${version}";
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2017-08-10 19:43:49 +00: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-11 22:17:53 +00:00
|
|
|
'';
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2017-08-10 19:43:49 +00:00
|
|
|
sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.georgduffner.at/ebgaramond/";
|
2014-05-07 07:56:41 +00:00
|
|
|
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
|
2015-06-11 22:17:53 +00:00
|
|
|
maintainers = with maintainers; [ relrod rycee ];
|
2014-05-07 07:56:41 +00:00
|
|
|
license = licenses.ofl;
|
2015-06-11 22:17:53 +00:00
|
|
|
platforms = platforms.all;
|
2014-05-07 07:56:41 +00:00
|
|
|
};
|
2015-06-11 22:17:53 +00:00
|
|
|
}
|