forked from mirrors/nixpkgs
22 lines
582 B
Nix
22 lines
582 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "4.0.2";
|
|
in fetchzip {
|
|
name = "ibm-plex-${version}";
|
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
|
postFetch = ''
|
|
mkdir -p $out/share/fonts
|
|
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
|
|
'';
|
|
sha256 = "1v00y1l9sjcv9w8d3115w1vv1b7bgwbrv4d3zv68galk8wz8px1x";
|
|
|
|
meta = with lib; {
|
|
description = "IBM Plex Typeface";
|
|
homepage = https://www.ibm.com/plex/;
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|