2018-07-29 20:28:44 +01:00
|
|
|
{ lib, fetchzip }:
|
2017-12-19 20:17:52 +00:00
|
|
|
|
2018-07-29 20:28:44 +01:00
|
|
|
let
|
2020-09-02 02:33:53 +01:00
|
|
|
version = "5.1.3";
|
2020-06-08 19:47:19 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
in fetchzip {
|
2017-12-19 20:17:52 +00:00
|
|
|
name = "ibm-plex-${version}";
|
2020-06-08 19:47:19 +01:00
|
|
|
|
2018-07-29 20:28:44 +01:00
|
|
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
2020-06-08 19:47:19 +01:00
|
|
|
|
2017-12-19 20:17:52 +00:00
|
|
|
postFetch = ''
|
2018-07-29 20:28:44 +01:00
|
|
|
mkdir -p $out/share/fonts
|
2019-03-15 05:44:02 +00:00
|
|
|
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
|
2017-12-19 20:17:52 +00:00
|
|
|
'';
|
2020-06-08 19:47:19 +01:00
|
|
|
|
2020-09-02 02:33:53 +01:00
|
|
|
sha256 = "0w07fkhav2lqdyki7ipnkpji5ngwarlhsyliy0ip7cd29x24ys5h";
|
2017-12-19 20:17:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "IBM Plex Typeface";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.ibm.com/plex/";
|
2017-12-19 20:17:52 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|