git-mit: add upstream patch for libgit2 version bump

This commit is contained in:
Audrey Dutcher
2025-01-24 23:42:27 -07:00
parent e57355e040
commit 9ef4c28896
+11 -1
View File
@@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, libgit2
, openssl
@@ -24,7 +25,16 @@ rustPlatform.buildRustPackage {
};
useFetchCargoVendor = true;
cargoHash = "sha256-sdAs8zJlmTqapWJNDck9YUHIiXhi0Ji6smejE5jEQXQ=";
cargoPatches = [
(fetchpatch {
name = "libgit2-update.patch";
url = "https://github.com/PurpleBooth/git-mit/pull/1543/commits/3e82a4f5017972c7d28151a468bb71fe7d2279e0.patch";
hash = "sha256-M9RpZHjOpZZqdHQe57LwMZ9zX6/4BNg3ymz8H3qupFk=";
})
];
cargoHash = "sha256-uoS6vmHmOVkHS81mrsbbXqP/dAC/FNHAlpTDHSa632k=";
nativeBuildInputs = [ pkg-config ];