nixpkgs/pkgs/data/fonts/aurulent-sans/default.nix

31 lines
746 B
Nix

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