summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-11-17 23:59:09 +0100
committerLudovic Courtès <ludo@gnu.org>2021-11-17 23:59:09 +0100
commit669d150f48cd091752e99bb0a5aa68764fe949dc (patch)
treedd17968aa2ff9e1c45e093c2c6eb61046ad07d49 /gnu
parente77df67cc25e4f221af530ed80f1c5f7a839e86f (diff)
downloadguix-669d150f48cd091752e99bb0a5aa68764fe949dc.tar.gz
gnu: graphene: Depend on a fixed version of 'git-minimal'.
* gnu/packages/version-control.scm (git-minimal/fixed): New variable.
* gnu/packages/gtk.scm (graphene)[native-inputs]: Use it instead of
GIT-MINIMAL.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gtk.scm2
-rw-r--r--gnu/packages/version-control.scm12
2 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 859e910e49..09e044d7e7 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -2488,7 +2488,7 @@ Parcellite and adds bugfixes and features.")
               '("-Dintrospection=false")
               '()))))
     (native-inputs
-     `(("git" ,git-minimal)
+     `(("git" ,git-minimal/fixed)
        ("gobject-introspection" ,gobject-introspection)
        ("mutest" ,mutest)
        ("pkg-config" ,pkg-config)))
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8b879d7dd5..b8f99f1885 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -657,6 +657,18 @@ everything from small to very large projects with speed and efficiency.")
        ("perl" ,perl)
        ("zlib" ,zlib)))))
 
+(define-public git-minimal/fixed
+  ;; Version that rarely changes, depended on by Graphene/GTK+.
+  (package/inherit git-minimal
+    (version "2.33.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kernel.org/software/scm/git/git-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0bqz401dyp8wnjj3k5ahrniwk4dalndysqazzwdvv25hqbkacm70"))))))
+
 (define-public git2cl
   (let ((commit "1d74d4c0d933fc69ed5cec838c73502584dead05"))
     (package