nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 694 B view raw
1{ lib, stdenvNoCC, fetchFromGitHub }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "et-book"; 5 version = "unstable-2015-10-05"; 6 7 src = fetchFromGitHub { 8 owner = "edwardtufte"; 9 repo = pname; 10 rev = "7e8f02dadcc23ba42b491b39e5bdf16e7b383031"; 11 hash = "sha256-B6ryC9ibNop08TJC/w9LSHHwqV/81EezXsTUJFq8xpo="; 12 }; 13 14 installPhase = '' 15 runHook preInstall 16 17 mkdir -p $out/share/fonts/truetype 18 cp -t $out/share/fonts/truetype source/4-ttf/*.ttf 19 20 runHook postInstall 21 ''; 22 23 meta = with lib; { 24 description = "The typeface used in Edward Tuftes books."; 25 license = licenses.mit; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ jethro ]; 28 }; 29}