Skip to content

Commit

Permalink
python3Packages.pygit2: 1.16.0 -> 1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot committed Jan 12, 2025
1 parent c605fb1 commit b100c6a
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions pkgs/development/python-modules/pygit2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,16 @@

buildPythonPackage rec {
pname = "pygit2";
version = "1.16.0";
version = "1.17.0";
pyproject = true;

disabled = pythonOlder "3.9";

src = fetchPypi {
inherit pname version;
hash = "sha256-eymmeWuqFfyJ1EOsjVF3VBHZseWwbcQNRYxWyFdrSKI=";
hash = "sha256-+ivAULLC0+c7VNbVQceSF4Vho0TwfkCfUy1buXrHuJQ=";
};

patches = [
# fix for GCC 14
(fetchpatch {
url = "https://github.com/libgit2/pygit2/commit/eba710e45bb40e18641c6531394bb46631e7f295.patch";
hash = "sha256-GFFzGVd/9+AcwicwOtBghhonijMp08svXTUZ/4/LmtI=";
})
# temp fix for Python 3.13 until next release after 1.16.0
(fetchpatch {
url = "https://github.com/libgit2/pygit2/commit/7f143e1c5beec01ec3429aa4db12435ac02977d3.patch";
hash = "sha256-2SiFFPWVVo9urKRu64AejjTZMoXo2r+v1OwEIF+AzNo=";
})
];

preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
export DYLD_LIBRARY_PATH="${libgit2}/lib"
'';
Expand Down

0 comments on commit b100c6a

Please sign in to comment.