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

23 lines
627 B
Nix
Raw Normal View History

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