nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchFromGitHub }:
2
3stdenvNoCC.mkDerivation {
4 pname = "gelasio";
5 version = "unstable-2022-06-09";
6
7 src = fetchFromGitHub {
8 owner = "SorkinType";
9 repo = "Gelasio";
10 rev = "a75c6d30a35f74cdbaea1813bdbcdb64bb11d3d5";
11 hash = "sha256-ncm0lSDPPPREdxTx3dGl6OGBn4FGAjFTlQpA6oDCdMI=";
12 };
13
14 dontBuild = true;
15
16 installPhase = ''
17 runHook preInstall
18
19 mkdir -p $out/share/fonts/truetype
20 cp fonts/ttf/*.ttf $out/share/fonts/truetype/
21
22 runHook postInstall
23 '';
24
25 meta = with lib; {
26 description = "a font which is metric-compatible with Microsoft's Georgia";
27 longDescription = ''
28 Gelasio is an original typeface which is metrics compatible with Microsoft's
29 Georgia in its Regular, Bold, Italic and Bold Italic weights. Interpolated
30 Medium, medium Italic, SemiBold and SemiBold Italic have now been added as well.
31 '';
32 homepage = "https://github.com/SorkinType/Gelasio";
33 license = licenses.ofl;
34 platforms = platforms.all;
35 maintainers = with maintainers; [ colemickens ];
36 };
37}
38