diff mbox series

[bug#52527,2/4] gnu: Add ghc-hosc.

Message ID acf19929e57d52225180f26fa525a03212443eea.1639609080.git.avityazev@posteo.org
State New
Headers show
Series gnu: Add ghc-tidal. | expand

Commit Message

Aleksandr Vityazev Dec. 15, 2021, 11:01 p.m. UTC
* gnu/packages/haskell-xyz.scm (ghc-hosc): New variable.
---
 gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

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")