summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Walker <mark.damon.walker@gmail.com>2025-06-17 12:39:05 +0800
committerjgart <jgart@dismail.de>2025-06-24 02:37:04 -0400
commit4def93b9d45fba9ba417be602e2c7525ba075fe7 (patch)
tree43d377d0581e2b48136500ce652dd722ef1d2bca
parente6dfa60b0b5feb6e3ac12bfad659cf4fba1ddb7e (diff)
gnu: Add ghc-hcodecs.
* gnu/packages/haskell-xyz.scm (ghc-hcodecs): New variable. Change-Id: I3b03f9eb430e076f1055f17e28ae161925795c56 Signed-off-by: jgart <jgart@dismail.de>
-rw-r--r--gnu/packages/haskell-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index dc564e7a58..896271bdde 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5218,6 +5218,29 @@ template-haskell abstract syntax.")
Vim.")
(license license:bsd-3)))
+(define-public ghc-hcodecs
+ (package
+ (name "ghc-hcodecs")
+ (version "0.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (hackage-uri "HCodecs" version))
+ (sha256
+ (base32
+ "0gbspig721viwncsfg9m4qc9jbl9rz93ra74d5b1zw9pw7rhy5ji"))))
+ (build-system haskell-build-system)
+ (inputs (list ghc-fail
+ ghc-random
+ ghc-semigroups))
+ (native-inputs (list ghc-quickcheck))
+ (home-page "https://github.com/Mokosha/HCodecs")
+ (synopsis "Read, write and manipulate MIDI, WAVE and SoundFont2 multimedia files")
+ (description "This library provides functions to read, write and manipulate MIDI, WAVE
+and SoundFont2 multimedia files. It is written entirely in Haskell (without any FFI).
+It uses efficient parsing and building combinators for binary data stored in ByteStrings
+(based on the one in binary package).")
+ (license license:bsd-3)))
+
(define-public ghc-hex
(package
(name "ghc-hex")