nixpkgs/pkgs/data/fonts/ibm-plex/default.nix
2019-10-06 04:20:00 -05:00

21 lines
582 B
Nix

{ lib, fetchzip }:
let
version = "3.0.0";
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 = "1vv0lf2fn0y0ln14s4my8x2mykq1lwqpmkjkhs6cm48mzf740nhs";
meta = with lib; {
description = "IBM Plex Typeface";
homepage = https://www.ibm.com/plex/;
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}