1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/data/fonts/source-sans-pro/default.nix

23 lines
626 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 = 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 ];
};
}