diff --git a/nixos/doc/manual/release-notes/rl-unstable.xml b/nixos/doc/manual/release-notes/rl-unstable.xml
index fcbf6ed0add..063663d9bbc 100644
--- a/nixos/doc/manual/release-notes/rl-unstable.xml
+++ b/nixos/doc/manual/release-notes/rl-unstable.xml
@@ -59,6 +59,10 @@ and old steam package -- to steamOriginal.
was accordingly renamed to bomi
+Atom Shell has been renamed to Electron upstream. Package atom-shell
+was accordingly renamed to electron
+
+
The default NIX_PATH for NixOS now includes
diff --git a/pkgs/development/tools/atom-shell/default.nix b/pkgs/development/tools/electron/default.nix
similarity index 75%
rename from pkgs/development/tools/atom-shell/default.nix
rename to pkgs/development/tools/electron/default.nix
index 4e5413b5012..4589b07343b 100644
--- a/pkgs/development/tools/atom-shell/default.nix
+++ b/pkgs/development/tools/electron/default.nix
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, buildEnv, makeDesktopItem, makeWrapper, zlib, glib, alsaLib
, dbus, gtk, atk, pango, freetype, fontconfig, libgnome_keyring3, gdk_pixbuf
, cairo, cups, expat, libgpgerror, nspr, gconf, nss, xlibs, libcap, unzip
+, systemd
}:
let
atomEnv = buildEnv {
@@ -10,16 +11,16 @@ let
fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
xlibs.libXrender xlibs.libX11 xlibs.libXext xlibs.libXdamage xlibs.libXtst
xlibs.libXcomposite xlibs.libXi xlibs.libXfixes xlibs.libXrandr
- xlibs.libXcursor libcap
+ xlibs.libXcursor libcap systemd
];
};
in stdenv.mkDerivation rec {
- name = "atom-shell-${version}";
- version = "0.19.1";
+ name = "electron-${version}";
+ version = "0.28.2";
src = fetchurl {
- url = "https://github.com/atom/atom-shell/releases/download/v0.19.1/atom-shell-v0.19.1-linux-x64.zip";
- sha256 = "10q1slwv2lkiqqxpv0m5a1k0gj2yp8bi9a7ilb05zz1wg7j3yw4y";
+ url = "https://github.com/atom/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
+ sha256 = "55b0880e2f78a60d95a58e83cd75006c34cb6ed90836e1f34e3359c3e5d0b8f0";
name = "${name}.zip";
};
@@ -33,15 +34,14 @@ in stdenv.mkDerivation rec {
mkdir -p $out/bin
unzip -d $out/bin $src
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- $out/bin/atom
- mv $out/bin/atom $out/bin/atom-shell
- wrapProgram $out/bin/atom-shell \
+ $out/bin/electron
+ wrapProgram $out/bin/electron \
--prefix "LD_LIBRARY_PATH" : "${atomEnv}/lib:${atomEnv}/lib64"
'';
meta = with stdenv.lib; {
description = "Cross platform desktop application shell";
- homepage = https://github.com/atom/atom-shell;
+ homepage = https://github.com/atom/electron;
license = licenses.mit;
maintainers = [ maintainers.fluffynukeit ];
platforms = [ "x86_64-linux" ];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 26aa616b4e0..e5070a8f5f2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -5143,7 +5143,7 @@ let
astyle = callPackage ../development/tools/misc/astyle { };
- atom-shell = callPackage ../development/tools/atom-shell {
+ electron = callPackage ../development/tools/electron {
gconf = pkgs.gnome.GConf;
};