2015-06-11 22:17:53 +00:00
|
|
|
{ stdenv, fetchzip }:
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "eb-garamond-${version}";
|
|
|
|
version = "0.016";
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
|
|
|
sha256 = "0j40bg1di39q7zis64il67xchldyznrl8wij9il10c4wr8nl4r9z";
|
|
|
|
};
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
mkdir -p $out/share/doc/${name}
|
|
|
|
cp -v "otf/"*.otf $out/share/fonts/opentype/
|
|
|
|
cp -v Changes README.markdown README.xelualatex $out/share/doc/${name}
|
|
|
|
'';
|
2014-05-07 07:56:41 +00:00
|
|
|
|
2015-06-11 22:17:53 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
}
|