depot/third_party/nixpkgs/pkgs/data/fonts/linden-hill/default.nix

33 lines
860 B
Nix
Raw Normal View History

{ 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 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 ];
};
})