Add source-sans-pro-1.050
This commit is contained in:
parent
873832ab6d
commit
88f60ee57d
26
pkgs/data/fonts/source-sans-pro/default.nix
Normal file
26
pkgs/data/fonts/source-sans-pro/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "source-sans-pro-1.050";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sourcesans.adobe/SourceSansPro_FontsOnly-1.050.zip";
|
||||
sha256 = "002z7kx8jxp5pfrilqaxbwbr5yp9fl3zsp0imawmf5wqagpzayf3";
|
||||
};
|
||||
|
||||
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/sourcesans;
|
||||
description = "A set of OpenType fonts designed by Adobe for UIs";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
};
|
||||
}
|
@ -7978,6 +7978,8 @@ let
|
||||
|
||||
sourceCodePro = callPackage ../data/fonts/source-code-pro {};
|
||||
|
||||
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
|
||||
|
||||
tango-icon-theme = callPackage ../data/icons/tango-icon-theme { };
|
||||
|
||||
themes = name: import (../data/misc/themes + ("/" + name + ".nix")) {
|
||||
|
Loading…
Reference in New Issue
Block a user