* gnu/packages/haskell.scm (ghc-alsa-core): New variable. --- gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index da8e932..90171e7 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages ghostscript) #:use-module (gnu packages libffi) #:use-module (gnu packages libedit) + #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages python) @@ -5261,4 +5262,31 @@ can be specified precisely in the type. The language is closely related to Epigram and Agda.") (license bsd-3))) +(define-public ghc-alsa-core + (package + (name "ghc-alsa-core") + (version "0.5.0.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/alsa-core/alsa-core-" + version + ".tar.gz")) + (sha256 + (base32 + "1avh4a419h9d2zsslg6j8hm87ppgsgqafz8ll037rk2yy1g4jl7b")))) + (build-system haskell-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("ghc-extensible-exceptions" ,ghc-extensible-exceptions))) + (inputs + `(("alsa-lib" ,alsa-lib))) + (home-page "http://www.haskell.org/haskellwiki/ALSA") + (synopsis "ALSA bindings for Haskell") + (description + "This package provides Haskell access to the ALSA infrastructure.") + (license bsd-3))) + ;;; haskell.scm ends here -- 2.6.2