diff --git a/pkgs/data/fonts/linden-hill/default.nix b/pkgs/data/fonts/linden-hill/default.nix new file mode 100644 index 000000000000..f48313fd4ac9 --- /dev/null +++ b/pkgs/data/fonts/linden-hill/default.nix @@ -0,0 +1,32 @@ +{ lib, fetchFromGitHub, stdenvNoCC }: + +stdenvNoCC.mkDerivation (self: { + pname = "linden-hill"; + version = "2011-05-25"; + + src = fetchFromGitHub { + owner = "theleagueof"; + repo = self.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 Goudy’s Deepdene"; + longDescription = '' + Linden Hill is a digital version of Frederic Goudy’s Deepdene. The + package includes roman and italic. + ''; + homepage = "https://www.theleagueofmoveabletype.com/linden-hill"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [ minijackson ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 23f1ba89f508..504a779797ce 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27318,6 +27318,8 @@ with pkgs; lightly-qt = libsForQt5.callPackage ../data/themes/lightly-qt { }; + linden-hill = callPackage ../data/fonts/linden-hill { }; + line-awesome = callPackage ../data/fonts/line-awesome { }; linja-pi-pu-lukin = callPackage ../data/fonts/linja-pi-pu-lukin {};