blob: ad78327b8b67cc3bb7524e5d90749a4153b9dd26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "eb-garamond";
version = "0.016";
src = fetchzip {
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
hash = "sha256-P2VCLcqcMBBoTDJyRLP9vlHI+jE0EqPjPziN2MJbgEg=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/{doc,fonts}
install -Dm644 otf/*.otf -t $out/share/fonts/opentype
install -Dm644 *Changes *README.markdown *README.xelualatex -t $out/share/doc/${pname}-${version}
runHook postInstall
'';
meta = with lib; {
homepage = "http://www.georgduffner.at/ebgaramond/";
description = "Digitization of the Garamond shown on the Egenolff-Berner specimen";
maintainers = with maintainers; [ relrod rycee ];
license = licenses.ofl;
platforms = platforms.all;
};
}
|