nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, fetchFromGitHub, stdenvNoCC }:
2
3stdenvNoCC.mkDerivation (finalAttrs: {
4 pname = "fanwood";
5 version = "2011-05-11";
6
7 src = fetchFromGitHub {
8 owner = "theleagueof";
9 repo = finalAttrs.pname;
10 rev = "cbaaed9704e7d37d3dcdbdf0b472e9efd0e39432";
11 hash = "sha256-OroFhhb4RxPHkx+/8PtFnxs1GQVXMPiYTd+2vnRbIjg=";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 install -D -m444 -t $out/share/fonts/opentype $src/*.otf
18
19 runHook postInstall
20 '';
21
22 meta = {
23 description = "A serif based on the work of a famous Czech-American type designer of yesteryear";
24 longDescription = ''
25 Based on work of a famous Czech-American type designer of yesteryear. The
26 package includes roman and italic.
27 '';
28 homepage = "https://www.theleagueofmoveabletype.com/fanwood";
29 license = lib.licenses.ofl;
30 maintainers = with lib.maintainers; [ minijackson ];
31 };
32})