fg-virgil: init at 0.16.1
This commit is contained in:
parent
c2de1b6a9c
commit
a4c808f542
2 changed files with 33 additions and 0 deletions
31
pkgs/data/fonts/fg-virgil/default.nix
Normal file
31
pkgs/data/fonts/fg-virgil/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "fg-virgil";
|
||||
version = "0.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "excalidraw";
|
||||
repo = "excalidraw";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-iziCCHacaShPqb0f5nI8cCinFFs5fB3TcMJrifNhg4I=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D -m 444 public/Virgil.woff2 -t $out/share/fonts/woff2
|
||||
install -D -m 444 public/FG_Virgil.woff2 -t $out/share/fonts/woff2
|
||||
install -D -m 444 public/FG_Virgil.ttf -t $out/share/fonts/ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/excalidraw/virgil";
|
||||
description = "The font that powers Excalidraw";
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
license = lib.licenses.ofl;
|
||||
};
|
||||
})
|
|
@ -29305,6 +29305,8 @@ with pkgs;
|
|||
|
||||
ferrum = callPackage ../data/fonts/ferrum { };
|
||||
|
||||
fg-virgil = callPackage ../data/fonts/fg-virgil { };
|
||||
|
||||
fixedsys-excelsior = callPackage ../data/fonts/fixedsys-excelsior { };
|
||||
|
||||
graphs = callPackage ../data/misc/graphs { };
|
||||
|
|
Loading…
Reference in a new issue