Skip to content

Commit

Permalink
lora: init at v3.005 (#350536)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 27, 2024
2 parents 7b9a9c9 + ffdf1ac commit e9f50ea
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/lo/lora/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
nix-update-script,
}:

stdenvNoCC.mkDerivation rec {
pname = "lora";
version = "v3.005";

src = fetchFromGitHub {
owner = "cyrealtype";
repo = "lora";
rev = version;
hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s=";
};

dontConfigure = true;
dontBuild = true;

passthru.updateScript = nix-update-script { };

installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
cp -R $src/fonts/ttf/*.ttf $out/share/fonts/truetype
runHook postInstall
'';

meta = with lib; {
description = "Lora is a well-balanced contemporary serif with roots in calligraphy";
homepage = "https://github.com/cyrealtype/lora";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ofalvai ];
};
}

0 comments on commit e9f50ea

Please sign in to comment.