diff options
author | Profpatsch <mail@profpatsch.de> | 2017-08-03 02:30:42 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-03-19 08:47:08 +0100 |
commit | 5e0cf582c1337c53bd796fc952a1e7417e30754b (patch) | |
tree | d8b0bf2d245eca1a8c5179c38ecb773f2d7c8db6 /pkgs/development/tools/node-webkit | |
parent | 0f6286cc4b82ab2568ed53f99977b54c8e67fc56 (diff) | |
download | nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar.gz nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar.bz2 nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar.lz nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar.xz nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.tar.zst nixlib-5e0cf582c1337c53bd796fc952a1e7417e30754b.zip |
node_webkit/nwjs: 0.12 -> 0.23.6
Keep 0.12, because it is still needed by `nixui`. Keep 0.9, because it is still needed by `zed`.
Diffstat (limited to 'pkgs/development/tools/node-webkit')
-rw-r--r-- | pkgs/development/tools/node-webkit/nw11.nix | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/pkgs/development/tools/node-webkit/nw11.nix b/pkgs/development/tools/node-webkit/nw11.nix deleted file mode 100644 index 5028ac9580c5..000000000000 --- a/pkgs/development/tools/node-webkit/nw11.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ stdenv, fetchurl, buildEnv, makeWrapper -, xorg, alsaLib, dbus, glib, gtk2, atk, pango, freetype, fontconfig -, gdk_pixbuf, cairo, zlib, nss, nssTools, nspr, gconf, expat, systemd, libcap -, libnotify}: -let - bits = if stdenv.system == "x86_64-linux" then "x64" - else "ia32"; - - nwEnv = buildEnv { - name = "node-webkit-env"; - paths = [ - xorg.libX11 xorg.libXrender glib gtk2 atk pango cairo gdk_pixbuf - freetype fontconfig xorg.libXcomposite alsaLib xorg.libXdamage - xorg.libXext xorg.libXfixes nss nspr gconf expat dbus stdenv.cc - xorg.libXtst xorg.libXi xorg.libXcursor xorg.libXrandr libcap - libnotify - ]; - - extraOutputsToInstall = [ "lib" "out" ]; - }; - -in stdenv.mkDerivation rec { - name = "node-webkit-${version}"; - version = "0.11.2"; - - src = fetchurl { - url = "http://dl.node-webkit.org/v${version}/node-webkit-v${version}-linux-${bits}.tar.gz"; - sha256 = if bits == "x64" then - "1iby0yrnbk9xfcsfz59f6g00l6rxiyxvq78shs0c145ky7lknq5q" else - "1hk3c9z3kwmqaj87vc5k1a7fv8jhkyqw1wjmsl3q5i50w880h398"; - }; - - installPhase = '' - mkdir -p $out/share/node-webkit - cp -R * $out/share/node-webkit - - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/share/node-webkit/nw - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/share/node-webkit/nwsnapshot - - ln -s ${systemd.lib}/lib/libudev.so $out/share/node-webkit/libudev.so.0 - - patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:$out/share/node-webkit" $out/share/node-webkit/nw - patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:$out/share/node-webkit" $out/share/node-webkit/nwsnapshot - - mkdir -p $out/bin - ln -s $out/share/node-webkit/nw $out/bin - ln -s $out/share/node-webkit/nwsnapshot $out/bin - ''; - - buildInputs = [ makeWrapper ]; - - meta = with stdenv.lib; { - description = "An app runtime based on Chromium and node.js"; - homepage = https://github.com/rogerwang/node-webkit; - platforms = ["i686-linux" "x86_64-linux"]; - maintainers = [ maintainers.offline ]; - license = licenses.bsd3; - }; -} |