mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
22 lines
574 B
Nix
22 lines
574 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "1.2.1";
|
|
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 \*.otf -d $out/share/fonts/opentype
|
|
'';
|
|
sha256 = "1mwlw39nbqrk08crvgm77l98yyyabwhcgsng89c9s67gq4mlxmxa";
|
|
|
|
meta = with lib; {
|
|
description = "IBM Plex Typeface";
|
|
homepage = https://www.ibm.com/plex/;
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|