mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
6b00f45997
A new best practice.
33 lines
747 B
Nix
33 lines
747 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "aleo-fonts";
|
|
version = "unstable-2023-06-03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AlessioLaiso";
|
|
repo = "aleo";
|
|
rev = "ce875e48d9983031648e87f38b7a269f4fbf5eb5";
|
|
hash = "sha256-HSxP5/sLHQTujBVt1u93625EXEc42lxpt8W1//6ngWM=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 fonts/variable/*.ttf -t $out/share/fonts/truetype/AleoFonts
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Slab serif typeface designed by Alessio Laiso";
|
|
homepage = "https://github.com/AlessioLaiso/aleo";
|
|
license = lib.licenses.ofl;
|
|
maintainers = with lib.maintainers; [ donovanglover ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|