nixpkgs/pkgs/data/fonts/source-sans-pro/default.nix

23 lines
627 B
Nix
Raw Normal View History

2017-08-10 21:43:49 +02:00
{ stdenv, fetchzip }:
2014-05-26 21:55:32 +02:00
2017-08-10 21:43:49 +02:00
fetchzip {
2015-04-30 00:45:00 +02:00
name = "source-sans-pro-2.010";
2014-05-26 21:55:32 +02:00
2017-08-10 21:43:49 +02:00
url = "https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.zip";
2014-05-26 21:55:32 +02:00
2017-08-10 21:43:49 +02:00
postFetch = ''
2014-05-26 21:55:32 +02:00
mkdir -p $out/share/fonts/opentype
2017-08-10 21:43:49 +02:00
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
2014-05-26 21:55:32 +02:00
'';
2017-08-10 21:43:49 +02:00
sha256 = "17rgkh54arybmcdg750ynw32x2sps7p9vrvq9kpih8vdghwrh9k2";
2014-05-26 21:55:32 +02:00
meta = with stdenv.lib; {
homepage = https://sourceforge.net/adobe/sourcesans;
2014-05-26 21:55:32 +02:00
description = "A set of OpenType fonts designed by Adobe for UIs";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ];
};
}