libgit2: switch to python3

This commit is contained in:
Jan Tojnar 2019-12-14 19:26:51 +01:00
parent ebe0fd4353
commit c8490a8603
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, python { stdenv, fetchFromGitHub, cmake, pkgconfig, python3
, zlib, libssh2, openssl, http-parser, curl , zlib, libssh2, openssl, http-parser, curl
, libiconv, Security , libiconv, Security
}: }:
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DTHREADSAFE=ON" ]; cmakeFlags = [ "-DTHREADSAFE=ON" ];
nativeBuildInputs = [ cmake python pkgconfig ]; nativeBuildInputs = [ cmake python3 pkgconfig ];
buildInputs = [ zlib libssh2 openssl http-parser curl ] buildInputs = [ zlib libssh2 openssl http-parser curl ]
++ stdenv.lib.optional stdenv.isDarwin Security; ++ stdenv.lib.optional stdenv.isDarwin Security;