Skip to content

Commit

Permalink
Merge pull request #32861 from romildo/new.ibm-plex
Browse files Browse the repository at this point in the history
ibm-plex: init at 0.5.3
  • Loading branch information
joachifm committed Dec 24, 2017
2 parents 7182de9 + af1327a commit 395f2dd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/data/fonts/ibm-plex/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ lib, fetchFromGitHub }:

let version = "0.5.3";
in fetchFromGitHub rec {
name = "ibm-plex-${version}";

owner = "IBM";
repo = "type";
rev = "v${version}";
sha256 = "1im7sid3qsk4wnm0yhq9h7i50bz46jksqxv60svdfnsrwq0krd1h";

postFetch = ''
tar --strip-components=1 -xzvf $downloadedFile
mkdir -p $out/share/fonts/opentype
cp fonts/*/desktop/mac/*.otf $out/share/fonts/opentype/
'';

meta = with lib; {
description = "IBM Plex Typeface";
homepage = https://ibm.github.io/type/;
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.romildo ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13577,6 +13577,8 @@ with pkgs;

hanazono = callPackage ../data/fonts/hanazono { };

ibm-plex = callPackage ../data/fonts/ibm-plex { };

inconsolata = callPackage ../data/fonts/inconsolata {};
inconsolata-lgc = callPackage ../data/fonts/inconsolata/lgc.nix {};

Expand Down

0 comments on commit 395f2dd

Please sign in to comment.