nixpkgs/pkgs/data/fonts/opensans-ttf/default.nix

28 lines
750 B
Nix
Raw Normal View History

{stdenv, fetchzip}:
2014-07-15 19:35:22 +02:00
fetchzip {
2014-07-15 19:35:22 +02:00
name = "opensans-ttf-20140617";
url = "http://web.archive.org/web/20150801161609/https://hexchain.org/pub/archlinux/ttf-opensans/opensans.tar.gz";
2014-07-15 19:35:22 +02:00
postFetch = ''
tar -xzf $downloadedFile
2014-07-15 19:35:22 +02:00
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
'';
sha256 = "0zpzqw5y9g5jk7xjcxa12ds60ckvxmpw8p7bnkkmad53s94yr5wf";
2014-07-15 19:35:22 +02:00
meta = {
description = "Open Sans fonts";
longDescription = ''
Open Sans is a humanist sans serif typeface designed by Steve Matteson,
Type Director of Ascender Corp.
'';
homepage = https://en.wikipedia.org/wiki/Open_Sans;
license = stdenv.lib.licenses.asl20;
2014-07-15 19:35:22 +02:00
platforms = stdenv.lib.platforms.all;
maintainers = [ ];
};
}