Subject: [PATCH 2/4] gnu: Add ghc-hosc.

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

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 476a2b98a6..5e009862d6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -3027,6 +3027,26 @@ (define-public ghc-data-binary-ieee754
     (description "Convert Float and Decimal values to/from raw octets.")
     (license license:expat)))
 
+(define-public ghc-hosc
+  (package
+    (name "ghc-hosc")
+    (version "0.19.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "hosc" version))
+       (sha256
+        (base32 "08q218p1skqxwa7f55nsgmv9z8digf1c0f1wi6p562q6d4i044z7"))))
+    (build-system haskell-build-system)
+    (inputs (list ghc-blaze-builder ghc-data-binary-ieee754 ghc-network))
+    (home-page "https://rohandrape.net/?t=hosc")
+    (synopsis "Haskell Open Sound Control")
+    (description
+     "This package provides Sound.OSC, a haskell module implementing a subset
+of the Open Sound Control byte protocol. @{hosc} is required by the @{hsc3}
+haskell @code{supercollider} bindings.")
+    (license license:gpl3)))
+
 (define-public ghc-dbus
   (package
     (name "ghc-dbus")
-- 
2.34.0

-- 

Aleksandr Vityazev