nixpkgs-suyu/pkgs/development/web/nodejs/v4.nix

18 lines
513 B
Nix
Raw Normal View History

2016-10-18 10:08:28 +02:00
{ stdenv, fetchurl, openssl, python2, zlib, libuv, v8, utillinux, http-parser
, pkgconfig, runCommand, which, libtool
2016-04-25 16:10:10 +02:00
, callPackage
}@args:
2016-04-25 16:10:10 +02:00
import ./nodejs.nix (args // rec {
2016-10-13 13:27:04 +02:00
version = "4.6.0";
src = fetchurl {
2016-05-18 18:33:37 +02:00
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.xz";
2016-10-13 13:27:04 +02:00
sha256 = "1566q1kkv8j30fgqx8sm2h8323f38wwpa1hfb10gr6z46jyhv4a2";
};
2016-10-20 08:32:05 +02:00
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace src/util.h \
--replace "tr1/type_traits" "type_traits"
'';
2016-04-25 16:10:10 +02:00
})