Author: simons Date: Sun Dec 11 19:38:57 2011 New Revision: 30836 URL: https://nixos.org/websvn/nix/?rev=30836&sc=1
Log: upgraded nodejs Modified: nixpkgs/trunk/pkgs/development/web/nodejs/default.nix Modified: nixpkgs/trunk/pkgs/development/web/nodejs/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/development/web/nodejs/default.nix Sun Dec 11 19:38:51 2011 (r30835) +++ nixpkgs/trunk/pkgs/development/web/nodejs/default.nix Sun Dec 11 19:38:57 2011 (r30836) @@ -1,19 +1,24 @@ -{ stdenv, fetchurl, openssl, python }: +{ stdenv, fetchurl, openssl, python, zlib }: stdenv.mkDerivation rec { - version = "0.5.4"; + version = "0.6.5"; name = "nodejs-${version}"; src = fetchurl { url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.gz"; - sha256 = "d32d3af4e3286b383640df857d76c2fcca1a2e2cb85abb484483a0a49d09ae71"; + sha256 = "72364d240fb61e678897c099df6f2913857c5931aa9b1f44e73e432d4629ca2f"; }; + configureFlags = [ + "--openssl-includes=${openssl}/include" + "--openssl-libpath=${openssl}/lib" + ]; + patchPhase = '' sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i tools/{*.py,waf-light,node-waf} ''; - buildInputs = [ python openssl ]; + buildInputs = [ python openssl zlib]; meta = with stdenv.lib; { description = "Event-driven I/O framework for the V8 JavaScript engine"; _______________________________________________ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits