summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-12 13:44:12 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-12 16:15:46 +0300
commit8c73e2f284d96b98b25af5be2e5a1b8c9f1c269b (patch)
treeacd321c37af123df84ae8a3750a237a2f6958ede /gnu
parentf741e914ebc1e029d84f74da846a1a662ad69312 (diff)
downloadguix-8c73e2f284d96b98b25af5be2e5a1b8c9f1c269b.tar.gz
gnu: Add libgit2-0.28.
* gnu/packages/version-control.scm (libgit2-0.28): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 5b75aee366..f71864ac24 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -653,6 +653,24 @@ write native speed custom Git applications in any language with bindings.")
     ;; GPLv2 with linking exception
     (license license:gpl2)))
 
+(define-public libgit2-0.28
+  (package
+    (inherit libgit2)
+    (version "0.28.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://github.com/libgit2/libgit2/releases/"
+                            "download/v" version
+                            "/libgit2-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0hjgpqjjmkciw1i8jqkx9q2vhdc4fc99qajhrj2bq8ziwsp6hyrb"))
+        (patches (search-patches "libgit2-mtime-0.patch"))
+        (modules '((guix build utils)))
+        (snippet '(begin
+                    (delete-file-recursively "deps") #t))))))
+
 (define-public git-crypt
   (package
     (name "git-crypt")