From: Danny Milosavljevic <dannym@scratchpost.org>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add ghc-flac.
Date: Mon, 16 Jan 2017 00:10:15 +0100 [thread overview]
Message-ID: <20170115231015.3893-1-dannym@scratchpost.org> (raw)
* 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
next reply other threads:[~2017-01-15 23:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-15 23:10 Danny Milosavljevic [this message]
2017-01-16 0:19 ` [PATCH] gnu: Add ghc-flac Marius Bakke
2017-01-16 10:01 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170115231015.3893-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.