1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "982839c790e9dc57c343972aa34c51ed3b3677fd";
11 hash = "sha256-9l4QcwCot340Bq41ER68HSZGQ9h0opyzgG3DG/fVZ5s=";
17 install -m444 -Dt $out/share/fonts/opentype fonts/OTF/*.otf
18 install -m444 -Dt $out/share/doc/${pname}-${version} README.md FONTLOG.txt
24 description = "Humanist sans with 4 weights and true italics";
26 The Cabin font family is a humanist sans with 4 weights and true italics,
27 inspired by Edward Johnston’s and Eric Gill’s typefaces, with a touch of
28 modernism. Cabin incorporates modern proportions, optical adjustments, and
29 some elements of the geometric sans. It remains true to its roots, but has
32 The weight distribution is almost monotone, although top and bottom curves
33 are slightly thin. Counters of the b, g, p and q are rounded and optically
34 adjusted. The curved stem endings have a 10 degree angle. E and F have
35 shorter center arms. M is splashed.
37 homepage = "http://www.impallari.com/cabin";
38 license = licenses.ofl;
39 maintainers = with maintainers; [ cmfwyp ];
40 platforms = platforms.all;