mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
vscode: 1.10.2 -> 1.11.1
This commit is contained in:
parent
aa31d4b803
commit
f50258bba5
@ -2,24 +2,28 @@
|
|||||||
makeWrapper, libXScrnSaver }:
|
makeWrapper, libXScrnSaver }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.10.2";
|
version = "1.11.1";
|
||||||
rev = "8076a19fdcab7e1fc1707952d652f0bb6c6db331";
|
rev = "d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39";
|
||||||
channel = "stable";
|
channel = "stable";
|
||||||
|
|
||||||
# The revision can be obtained with the following command (see https://github.com/NixOS/nixpkgs/issues/22465):
|
# The revision and build timestamps can be obtained with the following
|
||||||
# curl -w "%{url_effective}\n" -I -L -s -S https://vscode-update.azurewebsites.net/latest/linux-x64/stable -o /dev/null
|
# command (see https://github.com/NixOS/nixpkgs/issues/22465):
|
||||||
|
# for a in x64 ia32; do
|
||||||
|
# curl -w "%{url_effective}\n" -I -L -s -S -o /dev/null \
|
||||||
|
# "https://vscode-update.azurewebsites.net/latest/linux-${arch}/stable" \
|
||||||
|
# done
|
||||||
|
|
||||||
sha256 = if stdenv.system == "i686-linux" then "1rhwrpv17c8j06qja7i58cggzka8jm9v9h27jy22z30yxjz0p241"
|
sha256 = if stdenv.system == "i686-linux" then "14wdblh7q3m5qdsm34dpg5p7qk6llrbqk60md8wd0fb4chpvrq94"
|
||||||
else if stdenv.system == "x86_64-linux" then "1c1w7wc39a5vdap8j143ym976p9l9iwns1y28mcgjwrihdlb5wb8"
|
else if stdenv.system == "x86_64-linux" then "0rmzvaiar3y062mbrggiwjbwxs7izcih5333rn208ax4jxmbk4pc"
|
||||||
else if stdenv.system == "x86_64-darwin" then "1zznsn84k79lqirzv950q7caq7c88yh2gglwjc11y8k69awmlpva"
|
else if stdenv.system == "x86_64-darwin" then "1f3zdwsz0l6r7c2k25a7j5m0dl78219jzg4axcmbfa2qcs2hw0x6"
|
||||||
else throw "Unsupported system: ${stdenv.system}";
|
else throw "Unsupported system: ${stdenv.system}";
|
||||||
|
|
||||||
urlBase = "https://az764295.vo.msecnd.net/${channel}/${rev}/";
|
urlBase = "https://az764295.vo.msecnd.net/${channel}/${rev}/";
|
||||||
|
|
||||||
urlStr = if stdenv.system == "i686-linux" then
|
urlStr = if stdenv.system == "i686-linux" then
|
||||||
urlBase + "code-${channel}-code_${version}-1488982317_i386.tar.gz"
|
urlBase + "code-${channel}-code_${version}-1491487843_i386.tar.gz"
|
||||||
else if stdenv.system == "x86_64-linux" then
|
else if stdenv.system == "x86_64-linux" then
|
||||||
urlBase + "code-${channel}-code_${version}-1488981323_amd64.tar.gz"
|
urlBase + "code-${channel}-code_${version}-1491486998_amd64.tar.gz"
|
||||||
else if stdenv.system == "x86_64-darwin" then
|
else if stdenv.system == "x86_64-darwin" then
|
||||||
urlBase + "VSCode-darwin-${channel}.zip"
|
urlBase + "VSCode-darwin-${channel}.zip"
|
||||||
else throw "Unsupported system: ${stdenv.system}";
|
else throw "Unsupported system: ${stdenv.system}";
|
||||||
|
Loading…
Reference in New Issue
Block a user