0d9fc34957
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
27 lines
941 B
Nix
27 lines
941 B
Nix
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
|
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "0.016";
|
|
name = "eb-garamond-${version}";
|
|
in (fetchzip rec {
|
|
inherit name;
|
|
|
|
url = "https://bitbucket.org/georgd/eb-garamond/downloads/EBGaramond-${version}.zip";
|
|
|
|
sha256 = "04jq4mpln85zzbla8ybsjw7vn9qr3r0snmk5zykrm24imq7ripv3";
|
|
|
|
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;
|
|
};
|
|
}).overrideAttrs (_: {
|
|
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}"
|
|
'';
|
|
})
|