Add guile-8sync-latest to package inputs for guile-mudsync
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 9 Feb 2017 23:02:06 +0000 (17:02 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 9 Feb 2017 23:02:06 +0000 (17:02 -0600)
guix.scm

index 09f843b2ddb302c3bd8d675cd9ccefd4555c972b..338b0b4831b1faa767f215b670fe986a286b78bf 100644 (file)
--- a/guix.scm
+++ b/guix.scm
               (patches (list (string-append %source-dir
                                             "/build-aux/patch-guile-fix-live-repl.patch")))))))
 
+(define guile-8sync-latest
+  (package
+    (inherit guile-8sync)
+    (version "git")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "git://git.savannah.gnu.org/8sync.git")
+             (commit "dfde2119df2a0adb86ec4921f95ef2c15692a593")))
+       (sha256
+        (base32
+         "086smlch92n6z5xng0la9l9g6m145klw1c8222cgj32qhyarbkpk"))))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before 'configure 'bootstrap
+                              (lambda _
+                                (zero? (system* "./bootstrap.sh")))))))))
+
 (package
   (name "guile-mudsync")
   (version "git")
   (native-inputs `(("autoconf" ,autoconf)
                    ("automake" ,automake)
                    ("guile" ,guile-without-select-bug)
-                   ("guile-8sync" ,guile-8sync)
+                   ("guile-8sync" ,guile-8sync-latest)
                    ("guile-irregex" ,guile2.2-irregex)
                    ("pkg-config" ,pkg-config)
                    ("texinfo" ,texinfo)))