all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add ghc-flac.
@ 2017-01-15 23:10 Danny Milosavljevic
  2017-01-16  0:19 ` Marius Bakke
  2017-01-16 10:01 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Danny Milosavljevic @ 2017-01-15 23:10 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b26234d40..b2ee11b2a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -43,6 +43,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages sdl)
+  #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages zip)
@@ -8162,4 +8163,37 @@ Rust syntax.  It is intended to be useful for two different purposes:
 files in Haskell.")
     (license license:bsd-3)))
 
+(define-public ghc-flac
+  (package
+    (name "ghc-flac")
+    (version "0.1.1")
+    (source (origin
+      (method url-fetch)
+      (uri (string-append
+             "https://hackage.haskell.org/package/flac/flac-"
+             version
+             ".tar.gz"))
+      (sha256
+        (base32
+          "0gl707qcxyzc8cbqsajhxm7j648iv23mpfdayyfc7pwvndy2idsq"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-data-default-class"
+        ,ghc-data-default-class)
+       ("ghc-exceptions" ,ghc-exceptions)
+      ("ghc-mtl" ,ghc-mtl)
+       ("ghc-text" ,ghc-text)
+       ("ghc-vector" ,ghc-vector)
+       ("ghc-wave" ,ghc-wave)
+       ("ghc-semigroups" ,ghc-semigroups)
+       ("ghc-temporary" ,ghc-temporary)
+       ("flac" ,flac)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("hspec-discover" ,hspec-discover)))
+    (home-page "https://github.com/mrkkrp/flac")
+    (synopsis "Haskell binding to libFLAC")
+    (description "Complete high-level binding to libFLAC for Haskell.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-16 10:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15 23:10 [PATCH] gnu: Add ghc-flac Danny Milosavljevic
2017-01-16  0:19 ` Marius Bakke
2017-01-16 10:01 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.