Subject: [bug#52527] [PATCH 4/4] gnu: Add ghc-tidal

From: Aleksandr Vityazev <[email-masked]>
Date: Wed, 15 Dec 2021 23:01:17 +0000

* gnu/packages/haskell-xyz.scm (ghc-tidal): New variable.
---
 gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a253962142..20e62d85c2 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2020 Carlo Holl <[email-masked]>
 ;;; Copyright © 2020 Christine Lemmer-Webber <[email-masked]>
 ;;; Copyright © 2021 Alice BRENON <[email-masked]>
+;;; Copyright © 2021 Aleksandr Vityazev <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3066,6 +3067,32 @@ (define-public ghc-microspec
 dependencies.")
     (license license:bsd-3)))
 
+(define-public ghc-tidal
+  (package
+    (name "ghc-tidal")
+    (version "1.7.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "tidal" version))
+       (sha256
+        (base32 "0l8k4f89rhmvd0ys7klgi57k0313ki1vr256mkc60xc6a6gb3g93"))))
+    (build-system haskell-build-system)
+    (inputs
+     (list ghc-colour
+           ghc-hosc
+           ghc-network
+           ghc-bifunctors
+           ghc-clock
+           ghc-primitive
+           ghc-random))
+    (native-inputs (list ghc-microspec))
+    (home-page "https://tidalcycles.org/")
+    (synopsis "Pattern language for improvised music")
+    (description
+     "Tidal is a domain specific language for live coding patterns.")
+    (license license:gpl3+)))
+
 (define-public ghc-dbus
   (package
     (name "ghc-dbus")
-- 
2.34.0

-- 

Aleksandr Vityazev