about summary refs log tree commit diff
path: root/pkgs/data/fonts/apl386/default.nix
blob: e1bab248f394542587393949fb1251231b9028f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation {
  pname = "apl386";
  version = "unstable-2022-03-07";

  src = fetchFromGitHub {
    owner = "abrudz";
    repo = "APL386";
    rev = "6332c9dbb588946a0e8c9d7984dd0c003eeea266";
    hash = "sha256-oHk4e7NRgAjGtZzQmZToYz7wCZETaj7/yRwZMeeYF2M=";
  };

  installPhase = ''
    runHook preInstall

    install -Dm444 -t $out/share/fonts/truetype *.ttf

    runHook postInstall
  '';

  meta = {
    homepage = "https://abrudz.github.io/APL386/";
    description = "APL385 Unicode font evolved";
    license = lib.licenses.unlicense;
    maintainers = with lib.maintainers; [ sigmanificient ];
    platforms = lib.platforms.all;
  };
}