depot/third_party/nixpkgs/pkgs/data/fonts/yanone-kaffeesatz/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

28 lines
677 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "yanone-kaffeesatz";
version = "2004";
src = fetchzip {
url = "https://yanone.de/2015/data/UIdownloads/Yanone%20Kaffeesatz.zip";
stripRoot = false;
hash = "sha256-8yAB73UJ77/c8/VLqiFeT1KtoBQzOh+vWrI+JA2dCoY=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.otf -t $out/share/fonts/opentype
runHook postInstall
'';
meta = {
description = "The free font classic";
maintainers = with lib.maintainers; [ mt-caret ];
platforms = with lib.platforms; all;
homepage = "https://yanone.de/fonts/kaffeesatz/";
license = lib.licenses.ofl;
};
}