guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 64b38c9b6f4b3c9f1d0871023af6f27d12d4ba76
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Dec 30 14:52:47 2025 +0200

    gnu: libgit2-1.6: Inherit from libgit2-1.7.
    
    * gnu/packages/version-control.scm (libgit2-1.6): Inherit from
    libgit2-1.7.
    [source]: Remove inheritance.
    
    Change-Id: I28dc62c47b267b83af1a91bc0e3f448fdd9bc0f7
---
 gnu/packages/version-control.scm | 33 ++++++++++++++++++---------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index ad64957309..83ce22e9b5 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1300,6 +1300,24 @@ write native speed custom Git applications in any 
language with bindings.")
     ;; GPLv2 with linking exception
     (license license:gpl2)))
 
+(define-public libgit2-1.6
+  (package
+    (inherit libgit2-1.7)
+    (version "1.6.5")
+    (source (origin
+              (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
+                "1v8sndvknsknf0i967qidmz73q9jx928iq7fqqgx3rbwn2g1gn6s"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (delete-file-recursively "deps")))))))
+
 (define-public libgit2-1.5
   (package
     (inherit libgit2-1.7)
@@ -1372,21 +1390,6 @@ write native speed custom Git applications in any 
language with bindings.")
                (base32
                 "1k7h0phxz1i8i8qhd4dsyii62f30f33gmrpziqgri1ndnazkf4pz"))))))
 
-(define-public libgit2-1.6
-  (package
-    (inherit libgit2)
-    (version "1.6.5")
-    (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
-                "1v8sndvknsknf0i967qidmz73q9jx928iq7fqqgx3rbwn2g1gn6s"))))))
-
 (define-public libgit2-1.4
   (package
     (inherit libgit2)

Reply via email to