2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2014-05-07 00:45:54 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2016-08-27 09:41:36 +01:00
|
|
|
version = "2.030";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip {
|
|
|
|
name = "source-code-pro-${version}";
|
2014-05-07 00:45:54 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip;
|
2014-05-07 00:45:54 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
2015-04-29 23:44:48 +01:00
|
|
|
'';
|
2014-05-07 00:45:54 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "0d8qwzjgnz264wlm4qim048z3236z4hbblvc6yplw13f6b65j6fv";
|
|
|
|
|
2014-05-07 00:45:54 +01:00
|
|
|
meta = {
|
|
|
|
description = "A set of monospaced OpenType fonts designed for coding environments";
|
2019-05-13 02:55:32 +01:00
|
|
|
maintainers = with lib.maintainers; [ relrod ];
|
|
|
|
platforms = with lib.platforms; all;
|
2019-01-29 03:32:31 +00:00
|
|
|
homepage = https://adobe-fonts.github.io/source-code-pro/;
|
2019-05-13 02:55:32 +01:00
|
|
|
license = lib.licenses.ofl;
|
2014-05-07 00:45:54 +01:00
|
|
|
};
|
2015-04-29 23:44:48 +01:00
|
|
|
}
|