@@ -0,0 +1,25 @@
1+{ lib, fetchFromGitHub }:
2+
3+let version = "0.5.3";
4+in fetchFromGitHub rec {
5+ name = "ibm-plex-${version}";
6+
7+ owner = "IBM";
8+ repo = "type";
9+ rev = "v${version}";
10+ sha256 = "1im7sid3qsk4wnm0yhq9h7i50bz46jksqxv60svdfnsrwq0krd1h";
11+
12+ postFetch = ''
13+ tar --strip-components=1 -xzvf $downloadedFile
14+ mkdir -p $out/share/fonts/opentype
15+ cp fonts/*/desktop/mac/*.otf $out/share/fonts/opentype/
16+ '';
17+
18+ meta = with lib; {
19+ description = "IBM Plex Typeface";
20+ homepage = https://ibm.github.io/type/;
21+ license = licenses.ofl;
22+ platforms = platforms.all;
23+ maintainers = [ maintainers.romildo ];
24+ };
25+}