jetbrains-mono: 1.0.3 -> 1.0.4

Changelog: https://github.com/JetBrains/JetBrainsMono/releases/tag/v1.0.4
This commit is contained in:
Mario Rodas 2020-03-11 02:20:00 -05:00
parent b155a62dad
commit 63a92927cb
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

View file

@ -1,18 +1,19 @@
{ lib, fetchzip }:
let
version = "1.0.3";
version = "1.0.4";
in
fetchzip rec {
name = "JetBrainsMono-${version}";
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
sha256 = "16am5fxvda24jfl8lb9jf8mkcqfc97scj8hvwgd3m771db0dpflf";
sha256 = "1m6wppz6mrh7475d92yvwrjgbwkkcfq444v0im90f5c7fsf3dzbd";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.eot -d $out/share/fonts/eot
unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
'';