nix-dotfiles/packages/atkinson-hyperlegible-pro/default.nix
2024-04-02 19:01:15 -07:00

28 lines
717 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "atkinson-hyperlegible-pro";
version = "1.5.1-unstable";
src = fetchFromGitHub {
owner = "jacobxperez";
repo = "atkinson-hyperlegible-pro";
rev = "2576e71d09f57eac8d5e7d9d42b9e7ce49f759e1";
hash = "sha256-Zqr4dwrT/QWpYlNlLCVnWaZ6B5+yQ4Zh5pqYa7NBg3Y=";
};
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/fonts/opentype fonts/otf/*
runHook postInstall
'';
meta = with lib; {
description = "Maintained version of Atkinson Hyperlegible";
homepage = "https://jacobxperez.github.io/atkinson-hyperlegible-pro/";
license = licenses.ofl;
platforms = platforms.all;
};
}