diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-06-23 18:54:22 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-06-23 18:54:22 +0300 |
commit | 266531b5b0a20f55d6618438b313311268a926a0 (patch) | |
tree | 2af6cb049f0c0db97ff26f821c5e1fffa5ee398d /pkgs/development | |
parent | efb3fa7021d307facb227b256d3154c2339c8e83 (diff) | |
parent | 1682bd707a8e94b92866f802fdbfb5cc093d37b0 (diff) | |
download | nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar.gz nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar.bz2 nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar.lz nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar.xz nixlib-266531b5b0a20f55d6618438b313311268a926a0.tar.zst nixlib-266531b5b0a20f55d6618438b313311268a926a0.zip |
Merge pull request #8422 from travisbhartwell/update/atom-shell-to-electron
atom-shell: renamed to electron and updated 0.19.1 -> 0.28.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/electron/default.nix (renamed from pkgs/development/tools/atom-shell/default.nix) | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/tools/atom-shell/default.nix b/pkgs/development/tools/electron/default.nix index 4e5413b50122..b3867be6377c 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,17 +34,16 @@ 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 ]; + maintainers = [ maintainers.travisbhartwell ]; platforms = [ "x86_64-linux" ]; }; } |