mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
28 lines
748 B
Nix
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 ];
|
|
};
|
|
}
|
|
|