[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#32908] [PATCH 19/24] gnu: Add ghc-inline-c-cpp.
From: |
Ricardo Wurmus |
Subject: |
[bug#32908] [PATCH 19/24] gnu: Add ghc-inline-c-cpp. |
Date: |
Tue, 2 Oct 2018 18:38:04 +0200 |
* 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 5d68ddcad..9e47c4cbf 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
--
2.19.0
- [bug#32908] [PATCH 09/24] gnu: Add ghc-bindings-dsl., (continued)
- [bug#32908] [PATCH 09/24] gnu: Add ghc-bindings-dsl., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 12/24] gnu: Add ghc-pqueue., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 11/24] gnu: Add ghc-bzlib-conduit., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 10/24] gnu: Add ghc-lzma-conduit., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 14/24] gnu: Add ghc-interpolate., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 13/24] gnu: Add ghc-conduit-algorithms., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 15/24] gnu: Add ghc-hpack., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 16/24] gnu: Add ghc-raw-string-qq., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 17/24] gnu: Add ghc-inline-c., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 18/24] gnu: Add ghc-safe-exceptions., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 19/24] gnu: Add ghc-inline-c-cpp.,
Ricardo Wurmus <=
- [bug#32908] [PATCH 20/24] gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 21/24] gnu: Add ghc-configurator., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 22/24] gnu: Add ghc-file-embed., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 23/24] gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/02
- [bug#32908] [PATCH 24/24] gnu: Add ngless., Ricardo Wurmus, 2018/10/02
[bug#32912] [PATCH 04/24] gnu: Add ghc-chart-cairo., Ricardo Wurmus, 2018/10/02
[bug#32908] [PATCH 00/24] Add ngless., Leo Famulari, 2018/10/04