mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
dcd6f79da7
This reverts commit b6ae543466
.
The source files for versions 6.2.0 and 6.3.0 have the same content.
29 lines
730 B
Nix
29 lines
730 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "ibm-plex";
|
|
version = "6.2.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
|
|
hash = "sha256-RvD/aeZrvltJiuAHqYMNaRsjLgTdcC1/5zqlcd4qKAA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|