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

29 lines
740 B
Nix
Raw Normal View History

2014-06-18 02:12:10 +02:00
{stdenv, fetchgit}:
stdenv.mkDerivation rec {
name = "aurulent-sans-0.1";
2014-06-18 02:12:10 +02:00
src = fetchgit {
url = "https://github.com/deepfire/hartke-aurulent-sans.git";
rev = "refs/tags/${name}";
sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
};
2014-06-18 02:12:10 +02:00
buildPhase = "true";
installPhase = ''
2014-06-18 02:12:10 +02:00
fontDir=$out/share/fonts/opentype
mkdir -p $fontDir
cp *.otf $fontDir
'';
2014-06-18 02:12:10 +02:00
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 stdenv.lib.maintainers; [ deepfire ];
license = stdenv.lib.licenses.ofl;
2014-06-18 02:12:10 +02:00
platforms = stdenv.lib.platforms.all;
};
}