Subject: [PATCH 1/5] gnu: Add meson/latest.

From: Brendan Tildesley <[email-masked]>
Date: Wed, 19 Aug 2020 09:58:52 +1000

* gnu/packages/build-tools.scm (meson/latest): New variable.
---
 gnu/packages/build-tools.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 7213c1bd0b..a464009761 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Leo Prikler <[email-masked]>
 ;;; Copyright © 2020 Yuval Kogman <[email-masked]>
 ;;; Copyright © 2020 Jakub Kądziołka <[email-masked]>
+;;; Copyright © 2020 Brendan Tildesley <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -222,6 +223,23 @@ resembles Python.")
     ;; People should probably install "meson", not "meson-for-build".
     (properties `((hidden? . #t)))))
 
+(define-public meson/latest
+  ;; The rpath patch is no longer needed since this issue was resolved:
+  ;; https://github.com/mesonbuild/meson/issues/2567
+  (package
+    (inherit meson)
+    (name "meson")
+    (version "0.55.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/mesonbuild/meson/"
+                                  "releases/download/" version  "/meson-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1070kjiirxxdfppmrhi3wsc6rykay1zlciqrzayjhjg0hkw42mrv"))))
+    (properties `((hidden? . #t)))))
+
 (define-public premake4
   (package
     (name "premake")
-- 
2.28.0