about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/aurulent-sans/default.nix
blob: f1ee19b3b1579cc92bfc54ce62b8fbe57e0b2dcd (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
30
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation rec {
  pname = "aurulent-sans";
  version = "0.1";

  src = fetchFromGitHub {
    owner = "deepfire";
    repo = "hartke-aurulent-sans";
    rev = "${pname}-${version}";
    hash = "sha256-M/duhgqxXZJq5su9FrsGjZdm+wtO5B5meoDomde+GwY=";
  };

  installPhase = ''
    runHook preInstall

    install -Dm644 *.otf -t $out/share/fonts

    runHook postInstall
  '';

  meta = {
    description = "Aurulent Sans";
    longDescription = "Aurulent Sans is a humanist sans serif intended to be used as an interface font.";
    homepage = "http://delubrum.org/";
    maintainers = with lib.maintainers; [ deepfire ];
    license = lib.licenses.ofl;
    platforms = lib.platforms.all;
  };
}