nixpkgs/pkgs/data/fonts/source-serif-pro/default.nix
2015-04-29 17:45:13 -05:00

28 lines
748 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "source-serif-pro-${version}";
version = "1.017";
src = fetchurl rec {
url = "https://github.com/adobe-fonts/source-serif-pro/archive/${version}R.tar.gz";
sha256 = "04h24iywjl4fd08x22ypdb3sm979wjfq4wk95r3rk8w376spakrg";
};
phases = "unpackPhase installPhase";
installPhase = ''
mkdir -p $out/share/fonts/opentype
find . -name "*.otf" -exec cp {} $out/share/fonts/opentype \;
'';
meta = with stdenv.lib; {
homepage = http://sourceforge.net/adobe/sourceserifpro;
description = "A set of OpenType fonts to complement Source Sans Pro";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ];
};
}