2019-05-13 03:55:32 +02:00
|
|
|
|
{ lib, fetchFromGitHub }:
|
2016-09-11 03:18:48 +02:00
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
|
fetchFromGitHub rec {
|
2016-09-11 03:18:48 +02:00
|
|
|
|
name = "cabin-1.005";
|
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
|
owner = "impallari";
|
|
|
|
|
repo = "Cabin";
|
|
|
|
|
rev = "982839c790e9dc57c343972aa34c51ed3b3677fd";
|
2016-09-11 03:18:48 +02:00
|
|
|
|
|
2017-08-11 15:40:45 +02:00
|
|
|
|
postFetch = ''
|
2019-05-13 03:55:32 +02:00
|
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype fonts/OTF/*.otf
|
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
|
2016-09-11 03:18:48 +02:00
|
|
|
|
'';
|
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
|
sha256 = "1bl7h217m695jn4rbniialfk573aa44fslp2rjxnhkicakpcm44h";
|
2017-08-11 15:40:45 +02:00
|
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
|
meta = with lib; {
|
2016-09-11 03:18:48 +02:00
|
|
|
|
description = "A humanist sans with 4 weights and true italics";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
The Cabin font family is a humanist sans with 4 weights and true italics,
|
|
|
|
|
inspired by Edward Johnston’s and Eric Gill’s typefaces, with a touch of
|
|
|
|
|
modernism. Cabin incorporates modern proportions, optical adjustments, and
|
|
|
|
|
some elements of the geometric sans. It remains true to its roots, but has
|
|
|
|
|
its own personality.
|
|
|
|
|
|
|
|
|
|
The weight distribution is almost monotone, although top and bottom curves
|
|
|
|
|
are slightly thin. Counters of the b, g, p and q are rounded and optically
|
|
|
|
|
adjusted. The curved stem endings have a 10 degree angle. E and F have
|
|
|
|
|
shorter center arms. M is splashed.
|
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
|
homepage = "http://www.impallari.com/cabin";
|
2016-09-11 03:18:48 +02:00
|
|
|
|
license = licenses.ofl;
|
|
|
|
|
maintainers = with maintainers; [ cmfwyp ];
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
};
|
|
|
|
|
}
|