forked from mirrors/nixpkgs
Add source-serif-pro-1.014
This commit is contained in:
parent
88f60ee57d
commit
e2da5d38f3
27
pkgs/data/fonts/source-serif-pro/default.nix
Normal file
27
pkgs/data/fonts/source-serif-pro/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -7980,6 +7980,8 @@ let
|
|||
|
||||
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
|
||||
|
||||
source-serif-pro = callPackage ../data/fonts/source-serif-pro { };
|
||||
|
||||
tango-icon-theme = callPackage ../data/icons/tango-icon-theme { };
|
||||
|
||||
themes = name: import (../data/misc/themes + ("/" + name + ".nix")) {
|
||||
|
|
Loading…
Reference in a new issue