libgit2: 0.26.6 → 0.27.7
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi }:
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2, six, cffi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygit2";
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
preConfigure = lib.optionalString stdenv.isDarwin ''
|
||||
export DYLD_LIBRARY_PATH="${libgit2_0_27}/lib"
|
||||
export DYLD_LIBRARY_PATH="${libgit2}/lib"
|
||||
'';
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f";
|
||||
}) ];
|
||||
|
||||
propagatedBuildInputs = [ libgit2_0_27 six ] ++ lib.optional (!isPyPy) cffi;
|
||||
propagatedBuildInputs = [ libgit2 six ] ++ lib.optional (!isPyPy) cffi;
|
||||
|
||||
preCheck = ''
|
||||
# disable tests that require networking
|
||||
|
||||
Reference in New Issue
Block a user