gnu: Add ghc-hcodecs.

* gnu/packages/haskell-xyz.scm (ghc-hcodecs): New variable.

Change-Id: I3b03f9eb430e076f1055f17e28ae161925795c56
Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Mark Walker 2025-06-17 12:39:05 +08:00 committed by jgart
parent e6dfa60b0b
commit 4def93b9d4
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

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