mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
29 lines
727 B
Nix
29 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;
|
|
};
|
|
}
|