nixpkgs/pkgs/data/fonts/linden-hill/default.nix
2023-04-26 08:00:11 -03:00

33 lines
872 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "linden-hill";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = finalAttrs.pname;
rev = "a3f7ae6c4cac1b7e5ce5269e1fcc6a2fbb9e31ee";
hash = "sha256-EjXcLjzVQeOJgLxGua8t0oMc+APOsONGGpG6VJVCgFw=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
meta = {
description = "A digital version of Frederic Goudys Deepdene";
longDescription = ''
Linden Hill is a digital version of Frederic Goudys Deepdene. The
package includes roman and italic.
'';
homepage = "https://www.theleagueofmoveabletype.com/linden-hill";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
})