nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 42 lines 1.4 kB view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "cabin"; 5 version = "1.005"; 6 7 src = fetchFromGitHub { 8 owner = "impallari"; 9 repo = "Cabin"; 10 rev = "982839c790e9dc57c343972aa34c51ed3b3677fd"; 11 hash = "sha256-9l4QcwCot340Bq41ER68HSZGQ9h0opyzgG3DG/fVZ5s="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/opentype fonts/OTF/*.otf 18 install -m444 -Dt $out/share/doc/${pname}-${version} README.md FONTLOG.txt 19 20 runHook postInstall 21 ''; 22 23 meta = with lib; { 24 description = "A humanist sans with 4 weights and true italics"; 25 longDescription = '' 26 The Cabin font family is a humanist sans with 4 weights and true italics, 27 inspired by Edward Johnstons and Eric Gills 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 30 its own personality. 31 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. 36 ''; 37 homepage = "http://www.impallari.com/cabin"; 38 license = licenses.ofl; 39 maintainers = with maintainers; [ cmfwyp ]; 40 platforms = platforms.all; 41 }; 42}