nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 730 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "ibm-plex"; 5 version = "6.2.0"; 6 7 src = fetchzip { 8 url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip"; 9 hash = "sha256-RvD/aeZrvltJiuAHqYMNaRsjLgTdcC1/5zqlcd4qKAA="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 */*.otf IBM-Plex-Sans-JP/unhinted/* -t $out/share/fonts/opentype 16 17 runHook postInstall 18 ''; 19 20 meta = with lib; { 21 description = "IBM Plex Typeface"; 22 homepage = "https://www.ibm.com/plex/"; 23 changelog = "https://github.com/IBM/plex/raw/v${version}/CHANGELOG.md"; 24 license = licenses.ofl; 25 platforms = platforms.all; 26 maintainers = [ maintainers.romildo ]; 27 }; 28}