nixpkgs/pkgs/data/fonts/ibm-plex/default.nix
2019-03-15 00:47:53 -05:00

21 lines
586 B
Nix

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