electron: 1.7.11 -> 1.8.2 (#35342)
This commit is contained in:
parent
4440e267c4
commit
823facf2cc
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv }:
|
{ stdenv, lib, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.7.11";
|
version = "1.8.2";
|
||||||
name = "electron-${version}";
|
name = "electron-${version}";
|
||||||
|
|
||||||
throwSystem = throw "Unsupported system: ${stdenv.system}";
|
throwSystem = throw "Unsupported system: ${stdenv.system}";
|
||||||
@ -10,8 +10,8 @@ let
|
|||||||
description = "Cross platform desktop application shell";
|
description = "Cross platform desktop application shell";
|
||||||
homepage = https://github.com/electron/electron;
|
homepage = https://github.com/electron/electron;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.travisbhartwell ];
|
maintainers = with maintainers; [ travisbhartwell manveru ];
|
||||||
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" ];
|
platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" "aarch64-linux" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
linux = {
|
linux = {
|
||||||
@ -20,15 +20,19 @@ let
|
|||||||
src = {
|
src = {
|
||||||
i686-linux = fetchurl {
|
i686-linux = fetchurl {
|
||||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
|
||||||
sha256 = "0mxrayczs6fc2a53fzfbgs88l71wm7hadq9ir510kicakblmdbyx";
|
sha256 = "12q5h6gh9zzhndg6yfka821rblq3l80d2qzqrq4nbq6rlsshjp9d";
|
||||||
};
|
};
|
||||||
x86_64-linux = fetchurl {
|
x86_64-linux = fetchurl {
|
||||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
|
||||||
sha256 = "0v22xhzbq9lcbc83laqs45pbx8gzv648qfkj01pxfsmv3lb4myrl";
|
sha256 = "07ggq9wgfz3z5z0lwzzgs6im0qs83pz0pcfwr0r42zgmwg7j78b8";
|
||||||
};
|
};
|
||||||
armv7l-linux = fetchurl {
|
armv7l-linux = fetchurl {
|
||||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
|
||||||
sha256 = "02n2y69zwzacigqp6f4vg47cmjzf8gvbbispmzkg3pnzk4qc9473";
|
sha256 = "1b0p5x9zigyd6d8gz2hxc4scllrpnbx1dzzwlsvw6ilqbj1ypc7i";
|
||||||
|
};
|
||||||
|
aarch64-linux = fetchurl {
|
||||||
|
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
|
||||||
|
sha256 = "0k4np2d4y15x1qfay8y9m8v9y223vdpbq5fdxa3ywbbyf8j361zd";
|
||||||
};
|
};
|
||||||
}.${stdenv.system} or throwSystem;
|
}.${stdenv.system} or throwSystem;
|
||||||
|
|
||||||
@ -56,7 +60,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
|
||||||
sha256 = "19kfb09ap780ayk7miqfr6gmba9rd10f9q9aphj35yk7cl22znbr";
|
sha256 = "0pq587vr1i87jdwcpbf6n136i9dp6i39dp5s95kihnm9qglxr42b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
|
Loading…
Reference in New Issue
Block a user