lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

electron: 0.36.2 -> 1.2.2

+9 -6
+9 -6
pkgs/development/tools/electron/default.nix
··· 1 - { stdenv, lib, callPackage, fetchurl, unzip, atomEnv }: 1 + { stdenv, lib, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "electron-${version}"; 5 - version = "0.36.2"; 5 + version = "1.2.2"; 6 6 7 7 src = fetchurl { 8 - url = "https://github.com/atom/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip"; 9 - sha256 = "01d78j8dfrdygm1r141681b3bfz1f1xqg9vddz7j52z1mlfv9f1d"; 8 + url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip"; 9 + sha256 = "0jqzs1297f6w7s4j9pd7wyyqbidb0c61yjz47raafslg6nljgp1c"; 10 10 name = "${name}.zip"; 11 11 }; 12 12 13 - buildInputs = [ unzip ]; 13 + buildInputs = [ unzip makeWrapper ]; 14 14 15 15 buildCommand = '' 16 16 mkdir -p $out/lib/electron $out/bin ··· 23 23 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 24 24 --set-rpath "${atomEnv.libPath}:$out/lib/electron" \ 25 25 $out/lib/electron/electron 26 + 27 + wrapProgram $out/lib/electron/electron \ 28 + --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 26 29 ''; 27 30 28 31 meta = with stdenv.lib; { 29 32 description = "Cross platform desktop application shell"; 30 - homepage = https://github.com/atom/electron; 33 + homepage = https://github.com/electron/electron; 31 34 license = licenses.mit; 32 35 maintainers = [ maintainers.travisbhartwell ]; 33 36 platforms = [ "x86_64-linux" ];