http-parser: use python2
This commit is contained in:
parent
77fa967363
commit
f17f64d203
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gyp, utillinux, python, fixDarwinDylibNames }:
|
{ stdenv, fetchurl, python2Packages, utillinux, fixDarwinDylibNames }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.7.0";
|
version = "2.7.0";
|
||||||
@ -17,9 +17,9 @@ in stdenv.mkDerivation {
|
|||||||
buildFlags = [ "BUILDTYPE=Release" ];
|
buildFlags = [ "BUILDTYPE=Release" ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ gyp ]
|
[ python2Packages.gyp ]
|
||||||
++ stdenv.lib.optional stdenv.isLinux utillinux
|
++ stdenv.lib.optional stdenv.isLinux utillinux
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ python fixDarwinDylibNames ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ python2Packages.python fixDarwinDylibNames ];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
|
@ -7258,7 +7258,7 @@ in
|
|||||||
|
|
||||||
htmlcxx = callPackage ../development/libraries/htmlcxx { };
|
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 { };
|
hunspell = callPackage ../development/libraries/hunspell { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user