a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
26 lines
702 B
Nix
26 lines
702 B
Nix
{ lib, fetchzip }:
|
|
|
|
fetchzip rec {
|
|
pname = "garamond-libre";
|
|
version = "1.4";
|
|
|
|
url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip";
|
|
stripRoot = false;
|
|
|
|
postFetch = ''
|
|
install -Dm644 $out/*.otf -t $out/share/fonts/opentype
|
|
shopt -s extglob dotglob
|
|
rm -rf $out/!(share)
|
|
shopt -u extglob dotglob
|
|
'';
|
|
|
|
sha256 = "6WiuUe3CHXXL/0G7wURvSIgWPQ4isl50e3OBQ+ui0U4=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/dbenjaminmiller/garamond-libre";
|
|
description = "Garamond Libre font family";
|
|
maintainers = with maintainers; [ drupol ];
|
|
license = licenses.x11;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|