-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lora: init at v3.005 #350536
lora: init at v3.005 #350536
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
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; { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
description = "Lora is a well-balanced contemporary serif with roots in calligraphy"; | ||||||
homepage = "https://github.com/cyrealtype/lora"; | ||||||
license = licenses.ofl; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
platforms = platforms.all; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
maintainers = with maintainers; [ ofalvai ]; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
}; | ||||||
} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let in
vsrec
vsfinalAttrs
#315337