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

23 lines
626 B
Nix
Raw Normal View History

2017-08-10 19:43:49 +00:00
{ stdenv, fetchzip }:
2014-05-26 19:55:32 +00:00
2017-08-10 19:43:49 +00:00
fetchzip {
2015-04-29 22:45:00 +00:00
name = "source-sans-pro-2.010";
2014-05-26 19:55:32 +00:00
2017-08-10 19:43:49 +00:00
url = "https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.zip";
2014-05-26 19:55:32 +00:00
2017-08-10 19:43:49 +00:00
postFetch = ''
2014-05-26 19:55:32 +00:00
mkdir -p $out/share/fonts/opentype
2017-08-10 19:43:49 +00:00
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
2014-05-26 19:55:32 +00:00
'';
2017-08-10 19:43:49 +00:00
sha256 = "17rgkh54arybmcdg750ynw32x2sps7p9vrvq9kpih8vdghwrh9k2";
2014-05-26 19:55:32 +00:00
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 ];
};
}