#
# Manrope font, with italics.
#
{
	stdenv,
	fetchFromGitHub
}:

stdenv.mkDerivation rec {
  pname = "manrope";
  meta.description = "the Manrope font set, with italics";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "malte-v";
    repo = "manrope-italic";
    rev = "8bfff2a5f0ba40ff8b793fe39e919c60380312b2";
    hash = "sha256-gWw+R/Qy3yIanA7C/UrmyDScd3DfaIHgN5aFDxqM6mY=";
  };

  installPhase = ''
  	mkdir -p $out/share/fonts
    cp -R $src $out/share/fonts/opentype/
  '';
}
