nixpkgs-suyu/pkgs/data/fonts/aurulent-sans/default.nix
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00

28 lines
737 B
Nix

{stdenv, fetchgit}:
stdenv.mkDerivation rec {
name = "aurulent-sans-0.1";
src = fetchgit {
url = "https://github.com/deepfire/hartke-aurulent-sans.git";
rev = "refs/tags/${name}";
sha256 = "01hvpvbrks40g9k1xr2f1gxnd5wd0sxidgfbwrm94pdi1a36xxrk";
};
dontBuild = true;
installPhase = ''
fontDir=$out/share/fonts/opentype
mkdir -p $fontDir
cp *.otf $fontDir
'';
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;
platforms = stdenv.lib.platforms.all;
};
}