nixpkgs/pkgs/development/web/nodejs/v6.nix

20 lines
582 B
Nix
Raw Normal View History

2016-10-18 01:08:28 -07:00
{ stdenv, fetchurl, openssl, python2, zlib, libuv, v8, utillinux, http-parser
2016-10-13 04:27:18 -07:00
, pkgconfig, runCommand, which, libtool, fetchpatch
2016-04-25 07:10:10 -07:00
, callPackage
2016-07-22 01:00:26 -07:00
, darwin ? null
, enableNpm ? true
2016-04-25 07:10:10 -07:00
}@args:
2016-07-22 01:00:26 -07:00
let
nodejs = import ./nodejs.nix args;
baseName = if enableNpm then "nodejs" else "nodejs-slim";
in
stdenv.mkDerivation (nodejs // rec {
2017-02-02 17:21:52 -08:00
version = "6.9.5";
name = "${baseName}-${version}";
src = fetchurl {
url = "https://nodejs.org/download/release/v${version}/node-v${version}.tar.xz";
2017-02-02 17:21:52 -08:00
sha256 = "1cxnsprv2sy2djskx6yfw14f578s1fwzvmvnw7rh75djajix3znp";
};
})