From 8a9fffcd62b592cd170d27fa93f2cf7d361449e7 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 24 Jan 2020 07:30:00 -0500 Subject: [PATCH] jetbrains-mono: 1.0.1 -> 1.0.2 Changelog: https://github.com/JetBrains/JetBrainsMono/releases/tag/v1.0.2 --- pkgs/data/fonts/jetbrains-mono/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/data/fonts/jetbrains-mono/default.nix b/pkgs/data/fonts/jetbrains-mono/default.nix index ada7f23f4211..21c598b6cddf 100644 --- a/pkgs/data/fonts/jetbrains-mono/default.nix +++ b/pkgs/data/fonts/jetbrains-mono/default.nix @@ -1,20 +1,20 @@ { lib, fetchzip }: let - version = "1.0.1"; + version = "1.0.2"; in fetchzip rec { name = "JetBrainsMono-${version}"; - url = "https://github.com/JetBrains/JetBrainsMono/releases/download/${version}/JetBrainsMono-${version}.zip"; + url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip"; - sha256 = "15a8fwyg8ns6krq6nsvgn41iaqbd3lgm3cmv7w370gr6brbn6lxq"; + sha256 = "0fyn7yb1m9gkzbbzv25f8v6qzv7w4amqv3z4fpfb262l1f6yq41i"; postFetch = '' - unzip $downloadedFile - install -m444 -Dt $out/share/fonts/truetype ttf/*.ttf - install -m444 -Dt $out/share/fonts/woff/ web/woff/*.woff - install -m444 -Dt $out/share/fonts/woff2/ web/woff2/*.woff2 + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + unzip -j $downloadedFile \*.woff -d $out/share/fonts/woff + unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2 ''; meta = with lib; {