Skip to content

Commit

Permalink
python310Packages.pygit2: 1.9.2 -> 1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Sep 22, 2022
1 parent 6b76592 commit 9b63f83
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/development/python-modules/pygit2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, cacert
, cached-property
, cffi
, fetchpatch
, fetchPypi
, isPyPy
, libgit2
Expand All @@ -15,25 +14,16 @@

buildPythonPackage rec {
pname = "pygit2";
version = "1.9.2";
version = "1.10.1";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-IIlEM98RRkgarK434rDzu7/eoCbbL1UGEXC9mCPkCxk=";
hash = "sha256-NUZRvwYsAtHwgEHW+/GptL96k6/OZZeb3Ai9xlZTqi4=";
};

patches = [
# libgit 2 fix
(fetchpatch {
url = "https://github.com/libgit2/pygit2/commit/14b1df84060ea4ab085202382e80672ec1a104e3.patch";
includes = [ "src/types.h" ];
sha256 = "sha256-2krkyAT30l/olSEl2ugWCsylvGuT7VvkuSFVshIXktA=";
})
];

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

0 comments on commit 9b63f83

Please sign in to comment.