You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.nix 582B

123456789101112131415161718192021
  1. { lib, fetchzip }:
  2. let
  3. version = "3.0.0";
  4. in fetchzip {
  5. name = "ibm-plex-${version}";
  6. url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
  7. postFetch = ''
  8. mkdir -p $out/share/fonts
  9. unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
  10. '';
  11. sha256 = "1vv0lf2fn0y0ln14s4my8x2mykq1lwqpmkjkhs6cm48mzf740nhs";
  12. meta = with lib; {
  13. description = "IBM Plex Typeface";
  14. homepage = https://www.ibm.com/plex/;
  15. license = licenses.ofl;
  16. platforms = platforms.all;
  17. maintainers = [ maintainers.romildo ];
  18. };
  19. }