mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
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;
|
|
};
|
|
}
|