a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
28 lines
730 B
Nix
28 lines
730 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "ibm-plex";
|
|
version = "6.1.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
|
hash = "sha256-PZ7KPtaXZFVD5uMc7i+GQMA4DU5PsspeAodiU/FrTpY=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 */*.otf IBM-Plex-Sans-JP/unhinted/* -t $out/share/fonts/opentype
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "IBM Plex Typeface";
|
|
homepage = "https://www.ibm.com/plex/";
|
|
changelog = "https://github.com/IBM/plex/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|