Package for Open Sans fonts.
This commit is contained in:
parent
a9858101bc
commit
c4affbb17c
34
pkgs/data/fonts/opensans/default.nix
Normal file
34
pkgs/data/fonts/opensans/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
# adapted from https://aur.archlinux.org/packages/tt/ttf-opensans/PKGBUILD
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opensans-ttf-20140617";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://hexchain.org/pub/archlinux/ttf-opensans/opensans.tar.gz";
|
||||
sha256 = "1ycn39dijhd3lffmafminrnfmymdig2jvc6i47bb42fx777q97q4";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp *.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Open Sans fonts";
|
||||
|
||||
longDescription = ''
|
||||
Open Sans is a humanist sans serif typeface designed by Steve Matteson,
|
||||
Type Director of Ascender Corp.
|
||||
'';
|
||||
|
||||
homepage = "http://en.wikipedia.org/wiki/Open_Sans";
|
||||
license = "Apache";
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -7985,6 +7985,8 @@ let
|
||||
|
||||
oldstandard = callPackage ../data/fonts/oldstandard { };
|
||||
|
||||
opensans = callPackage ../data/fonts/opensans { };
|
||||
|
||||
poly = callPackage ../data/fonts/poly { };
|
||||
|
||||
posix_man_pages = callPackage ../data/documentation/man-pages-posix { };
|
||||
|
Loading…
Reference in New Issue
Block a user