nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 36 lines 1.1 kB view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "libre-baskerville"; 5 version = "1.000"; 6 7 src = fetchFromGitHub { 8 owner = "impallari"; 9 repo = "Libre-Baskerville"; 10 rev = "2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f"; 11 hash = "sha256-1EXi1hxFpc7pFsLbEj1xs9LqjeIf3XBol/8HdKNROUU="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/truetype *.ttf 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 webfont family optimized for body text"; 25 longDescription = '' 26 Libre Baskerville is a webfont family optimized for body text. It's Based 27 on 1941 ATF Baskerville Specimens but it has a taller x-height, wider 28 counters and less contrast that allow it to work on small sizes in any 29 screen. 30 ''; 31 homepage = "http://www.impallari.com/projects/overview/libre-baskerville"; 32 license = licenses.ofl; 33 maintainers = with maintainers; [ cmfwyp ]; 34 platforms = platforms.all; 35 }; 36}