mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
cabin: init at 1.005
This commit is contained in:
parent
29f00f954b
commit
d6404ad48e
@ -86,6 +86,7 @@
|
||||
cko = "Christine Koppelt <christine.koppelt@gmail.com>";
|
||||
cleverca22 = "Michael Bishop <cleverca22@gmail.com>";
|
||||
cmcdragonkai = "Roger Qiu <roger.qiu@matrix.ai>";
|
||||
cmfwyp = "cmfwyp <cmfwyp@riseup.net>";
|
||||
coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
|
||||
codsl = "codsl <codsl@riseup.net>";
|
||||
codyopel = "Cody Opel <codyopel@gmail.com>";
|
||||
|
39
pkgs/data/fonts/cabin/default.nix
Normal file
39
pkgs/data/fonts/cabin/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cabin-1.005";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "impallari";
|
||||
repo = "Cabin";
|
||||
rev = "982839c790e9dc57c343972aa34c51ed3b3677fd";
|
||||
sha256 = "16v7spviphvdh2rrr8klv11lc9hxphg12ddf0qs7xdx801ri0ppn";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v "fonts/OTF/"*.otf $out/share/fonts/opentype/
|
||||
cp -v README.md FONTLOG.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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.
|
||||
'';
|
||||
homepage = http://www.impallari.com/cabin;
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ cmfwyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -12017,6 +12017,8 @@ in
|
||||
|
||||
docbook5_xsl = self.docbook_xsl_ns;
|
||||
|
||||
cabin = callPackage ../data/fonts/cabin { };
|
||||
|
||||
dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { };
|
||||
|
||||
eb-garamond = callPackage ../data/fonts/eb-garamond { };
|
||||
|
Loading…
Reference in New Issue
Block a user