forked from mirrors/nixpkgs
jetbrains-mono: 2.002 -> 2.200
This commit is contained in:
parent
02daf3f076
commit
609d817586
|
@ -1,20 +1,18 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.002";
|
version = "2.200";
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
name = "JetBrainsMono-${version}";
|
name = "JetBrainsMono-${version}";
|
||||||
|
|
||||||
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
url = "https://github.com/JetBrains/JetBrainsMono/releases/download/v${version}/JetBrainsMono-${version}.zip";
|
||||||
|
|
||||||
sha256 = "018lhxi9m8aprls6cnpndzdg5snijwzm22m2pxxi6zcqxrcxh8vb";
|
sha256 = "16v914ph9sgdz3w56yz9f26zpj2lpxjb6ppnphxlmbllh68z1fh4";
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts
|
mkdir -p $out/share/fonts
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
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
|
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue