1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

ibm-plex: 4.0.2 -> 5.0.0

This commit is contained in:
José Romildo Malaquias 2020-06-08 15:47:19 -03:00
parent ee4bfb02d2
commit 29e4bbe4b1

View file

@ -1,15 +1,19 @@
{ lib, fetchzip }: { lib, fetchzip }:
let let
version = "4.0.2"; version = "5.0.0";
in fetchzip { in fetchzip {
name = "ibm-plex-${version}"; name = "ibm-plex-${version}";
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip"; url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts mkdir -p $out/share/fonts
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
''; '';
sha256 = "1v00y1l9sjcv9w8d3115w1vv1b7bgwbrv4d3zv68galk8wz8px1x";
sha256 = "1m8a9p0bryrj05v7sg9kqvyp0ddhgdwd0zjbn0i4l296cj5s2k97";
meta = with lib; { meta = with lib; {
description = "IBM Plex Typeface"; description = "IBM Plex Typeface";