mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
22 lines
582 B
Nix
22 lines
582 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "2.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 = "0m4paww4349d37s7j20a00hp514p1jq54xrnz45wyrafb8pkah4g";
|
|
|
|
meta = with lib; {
|
|
description = "IBM Plex Typeface";
|
|
homepage = https://www.ibm.com/plex/;
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|