http-parser: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-17 14:08:08 +02:00
parent 77fa967363
commit f17f64d203
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gyp, utillinux, python, fixDarwinDylibNames }:
{ stdenv, fetchurl, python2Packages, utillinux, fixDarwinDylibNames }:
let
version = "2.7.0";
@ -17,9 +17,9 @@ in stdenv.mkDerivation {
buildFlags = [ "BUILDTYPE=Release" ];
buildInputs =
[ gyp ]
[ python2Packages.gyp ]
++ stdenv.lib.optional stdenv.isLinux utillinux
++ stdenv.lib.optionals stdenv.isDarwin [ python fixDarwinDylibNames ];
++ stdenv.lib.optionals stdenv.isDarwin [ python2Packages.python fixDarwinDylibNames ];
doCheck = !stdenv.isDarwin;

View File

@ -7258,7 +7258,7 @@ in
htmlcxx = callPackage ../development/libraries/htmlcxx { };
http-parser = callPackage ../development/libraries/http-parser { inherit (pythonPackages) gyp; };
http-parser = callPackage ../development/libraries/http-parser { };
hunspell = callPackage ../development/libraries/hunspell { };