diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-05 10:56:03 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:27 +0200 |
commit | 6b61670f09d16b98a20057f0d0ba4e804b61b05f (patch) | |
tree | 2a518026a92b07efa944678dc3891205ca65cb31 /gnu/packages/version-control.scm | |
parent | f16f82e66d27b3d1d7660cbe8e6842b31ac62953 (diff) |
gnu: Add libgit2-1.7.
* gnu/packages/version-control.scm (libgit2-1.7): New variable.
Change-Id: I872208575dace0868dc7a2acd35c08f43871030e
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r-- | gnu/packages/version-control.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index a520b3a56f..b37a008e92 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -886,6 +886,33 @@ write native speed custom Git applications in any language with bindings.") ;; GPLv2 with linking exception (license license:gpl2))) +(define-public libgit2-1.7 + (package + (inherit libgit2) + (version "1.7.1") + (source (origin + (inherit (package-source libgit2)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/libgit2/libgit2") + (commit (string-append "v" version)))) + (file-name (git-file-name "libgit2" version)) + (sha256 + (base32 + "1wq6a91k97gbsyafla39yvn1lnr559hqc41ksz1qxv7flf5kyvfx")) + ;; We need to use the bundled xdiff until an option is given + ;; to use the one from git. + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file-recursively + '("deps/chromium-zlib" + "deps/http-parser" + "deps/ntlmclient" + "deps/pcre" + "deps/winhttp" + "deps/zlib")))))))) + (define-public libgit2-1.6 (package (inherit libgit2) |