[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/24: gnu: Add ghc-inline-c-cpp.
From: |
Ricardo Wurmus |
Subject: |
19/24: gnu: Add ghc-inline-c-cpp. |
Date: |
Fri, 5 Oct 2018 17:59:50 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d9ee3e375ca54bb6f4fd6bbc5b3646e27a0c25d0
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:38:04 2018 +0200
gnu: Add ghc-inline-c-cpp.
* gnu/packages/haskell.scm (ghc-inline-c-cpp): New variable.
---
gnu/packages/haskell.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5d68ddc..9e47c4c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11213,4 +11213,40 @@ encourages best practices to minimize the chances of
getting the exception
handling wrong.")
(license license:expat)))
+(define-public ghc-inline-c-cpp
+ (package
+ (name "ghc-inline-c-cpp")
+ (version "0.2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/inline-c-cpp/"
+ "inline-c-cpp-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rk7fmpkmxw9hhwr8df29kadnf0ybnwj64ggdbnsdrpfyhnkisci"))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'create-Setup.hs
+ (lambda _
+ (with-output-to-file "Setup.hs"
+ (lambda _
+ (display "\
+import Distribution.Simple
+main = defaultMain")))
+ #t)))))
+ (inputs
+ `(("ghc-inline-c" ,ghc-inline-c)
+ ("ghc-safe-exceptions" ,ghc-safe-exceptions)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)))
+ (home-page "https://hackage.haskell.org/package/inline-c-cpp")
+ (synopsis "Lets you embed C++ code into Haskell")
+ (description
+ "This package provides utilities to inline C++ code into Haskell using
address@hidden")
+ (license license:expat)))
+
;;; haskell.scm ends here
- 05/24: gnu: Add ghc-atomic-write., (continued)
- 05/24: gnu: Add ghc-atomic-write., Ricardo Wurmus, 2018/10/05
- 06/24: gnu: Add ghc-cereal-conduit., Ricardo Wurmus, 2018/10/05
- 07/24: gnu: Add ghc-lzma., Ricardo Wurmus, 2018/10/05
- 16/24: gnu: Add ghc-raw-string-qq., Ricardo Wurmus, 2018/10/05
- 17/24: gnu: Add ghc-inline-c., Ricardo Wurmus, 2018/10/05
- 14/24: gnu: Add ghc-interpolate., Ricardo Wurmus, 2018/10/05
- 15/24: gnu: Add ghc-hpack., Ricardo Wurmus, 2018/10/05
- 24/24: gnu: Add ngless., Ricardo Wurmus, 2018/10/05
- 22/24: gnu: Add ghc-file-embed., Ricardo Wurmus, 2018/10/05
- 21/24: gnu: Add ghc-configurator., Ricardo Wurmus, 2018/10/05
- 19/24: gnu: Add ghc-inline-c-cpp.,
Ricardo Wurmus <=