summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-01-24 07:30:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-01-24 09:16:54 -0500
commit8a9fffcd62b592cd170d27fa93f2cf7d361449e7 (patch)
treea6d2c3255757e985b3792eeba5a8405ebd5da570 /pkgs/data
parent93c7301338ac1eaf7ad7b687fa477aa86790628f (diff)
downloadnixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar.gz
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar.bz2
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar.lz
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar.xz
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.tar.zst
nixpkgs-8a9fffcd62b592cd170d27fa93f2cf7d361449e7.zip
jetbrains-mono: 1.0.1 -> 1.0.2
Changelog: https://github.com/JetBrains/JetBrainsMono/releases/tag/v1.0.2
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/jetbrains-mono/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/data/fonts/jetbrains-mono/default.nix b/pkgs/data/fonts/jetbrains-mono/default.nix
index ada7f23f421..21c598b6cdd 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; {