diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2014-05-26 14:58:31 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2014-07-08 15:59:41 -0500 |
commit | e2da5d38f39f84ae52313ea2330e1eb12bf6455a (patch) | |
tree | ff4480b5042a8caee9d14e2e66af4ffc343eeafb /pkgs/data/fonts/source-serif-pro/default.nix | |
parent | 88f60ee57d6a0de7cb77333d9189c3d7c06d7f3d (diff) | |
download | nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar.gz nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar.bz2 nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar.lz nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar.xz nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.tar.zst nixlib-e2da5d38f39f84ae52313ea2330e1eb12bf6455a.zip |
Add source-serif-pro-1.014
Diffstat (limited to 'pkgs/data/fonts/source-serif-pro/default.nix')
-rw-r--r-- | pkgs/data/fonts/source-serif-pro/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/source-serif-pro/default.nix b/pkgs/data/fonts/source-serif-pro/default.nix new file mode 100644 index 000000000000..00ebf22d469f --- /dev/null +++ b/pkgs/data/fonts/source-serif-pro/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation { + name = "source-serif-pro-1.014"; + src = fetchurl { + url = "mirror://sourceforge/sourceserifpro.adobe/SourceSerifPro_FontsOnly-1.014.zip"; + sha256 = "1agack195jqq4g2hmga6f9nwg44garii1g3jpbrdlrwr97rwvqsh"; + }; + + buildInputs = [ unzip ]; + + 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 ]; + }; +} + |