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
|
2018-09-17 14:11:30 +01:00
|
|
|
version = "1.1.6";
|
2018-07-29 20:28:44 +01:00
|
|
|
in fetchzip rec {
|
2017-12-19 20:17:52 +00:00
|
|
|
name = "ibm-plex-${version}";
|
2018-07-29 20:28:44 +01:00
|
|
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
2017-12-19 20:17:52 +00:00
|
|
|
postFetch = ''
|
2018-07-29 20:28:44 +01:00
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
2017-12-19 20:17:52 +00:00
|
|
|
'';
|
2018-09-17 14:11:30 +01:00
|
|
|
sha256 = "0n9qmh6v7gvrl1mfb0knygxlbkb78hvkdrppssx64m3pk4pxw85a";
|
2017-12-19 20:17:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "IBM Plex Typeface";
|
2018-07-29 20:28:44 +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 ];
|
|
|
|
};
|
|
|
|
}
|