3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pygit2: 0.23.1 -> 0.24.0 (#15986)

This commit is contained in:
Azul 2016-07-19 12:24:47 +01:00 committed by Franz Pletz
parent ddf59093ee
commit 20bb5402dc

View file

@ -17617,18 +17617,18 @@ in modules // {
}; };
pygit2 = buildPythonPackage rec { pygit2 = buildPythonPackage rec {
name = "pygit2-0.23.1"; name = "pygit2-0.24.0";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "mirror://pypi/p/pygit2/${name}.tar.gz"; url = "mirror://pypi/p/pygit2/${name}.tar.gz";
sha256 = "04201vcal7jq8lbpk9ylscrhjxdcf2aihiw25k4imjjqgfmvldf7"; sha256 = "01c155ls0h5pvpdkrk8ld6fscshmz4fchcwxrg488dbij1zdjxms";
}; };
preConfigure = ( if stdenv.isDarwin then '' preConfigure = ( if stdenv.isDarwin then ''
export DYLD_LIBRARY_PATH="${pkgs.libgit2}/lib" export DYLD_LIBRARY_PATH="${pkgs.libgit2}/lib"
'' else "" ); '' else "" );
propagatedBuildInputs = with self; [ pkgs.libgit2 ] ++ optionals (!isPyPy) [ cffi ]; propagatedBuildInputs = with self; [ pkgs.libgit2 six ] ++ optionals (!isPyPy) [ cffi ];
preCheck = '' preCheck = ''
# disable tests that require networking # disable tests that require networking