Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
698 B
Nix
34 lines
698 B
Nix
{
|
||
lib,
|
||
stdenvNoCC,
|
||
fetchFromGitHub,
|
||
}:
|
||
|
||
stdenvNoCC.mkDerivation {
|
||
pname = "et-book";
|
||
version = "0-unstable-2015-10-05";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "edwardtufte";
|
||
repo = "et-book";
|
||
rev = "7e8f02dadcc23ba42b491b39e5bdf16e7b383031";
|
||
hash = "sha256-B6ryC9ibNop08TJC/w9LSHHwqV/81EezXsTUJFq8xpo=";
|
||
};
|
||
|
||
installPhase = ''
|
||
runHook preInstall
|
||
|
||
mkdir -p $out/share/fonts/truetype
|
||
cp -t $out/share/fonts/truetype source/4-ttf/*.ttf
|
||
|
||
runHook postInstall
|
||
'';
|
||
|
||
meta = with lib; {
|
||
description = "Typeface used in Edward Tufte’s books";
|
||
license = licenses.mit;
|
||
platforms = platforms.all;
|
||
maintainers = with maintainers; [ jethro ];
|
||
};
|
||
}
|