a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
28 lines
727 B
Nix
28 lines
727 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "garamond-libre";
|
|
version = "1.4";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip";
|
|
stripRoot = false;
|
|
hash = "sha256-cD/JMICtb6MPIUcWs2VOTHnb/05ma0/KKtPyR4oJlIc=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 *.otf -t $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|