[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/24: gnu: Add ghc-inline-c.
From: |
Ricardo Wurmus |
Subject: |
17/24: gnu: Add ghc-inline-c. |
Date: |
Fri, 5 Oct 2018 17:59:49 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 88189099dff99ecb4912c9c01adb920868049bec
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:38:00 2018 +0200
gnu: Add ghc-inline-c.
* gnu/packages/haskell.scm (ghc-inline-c): New variable.
---
gnu/packages/haskell.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6b8a4ee..9bc86bf 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11069,6 +11069,52 @@ backslashes. They are useful when working with
regular expressions,
DOS/Windows paths and markup languages (such as XML).")
(license license:bsd-3)))
+(define-public ghc-inline-c
+ (package
+ (name "ghc-inline-c")
+ (version "0.6.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/inline-c/"
+ "inline-c-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0vbfrsqsi7mdziqsnj68bsqlwbqxxhvrmy9rv6w8z18d1m8w3n6h"))))
+ (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-ansi-wl-pprint" ,ghc-ansi-wl-pprint)
+ ("ghc-cryptohash" ,ghc-cryptohash)
+ ("ghc-hashable" ,ghc-hashable)
+ ("ghc-parsec" ,ghc-parsec)
+ ("ghc-parsers" ,ghc-parsers)
+ ("ghc-unordered-containers" ,ghc-unordered-containers)
+ ("ghc-vector" ,ghc-vector)))
+ (native-inputs
+ `(("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-raw-strings-qq" ,ghc-raw-strings-qq)
+ ("ghc-regex-posix" ,ghc-regex-posix)))
+ (home-page "http://hackage.haskell.org/package/inline-c")
+ (synopsis "Write Haskell source files including C code inline")
+ (description
+ "inline-c lets you seamlessly call C libraries and embed high-performance
+inline C code in Haskell modules. Haskell and C can be freely intermixed in
+the same source file, and data passed to and from code in either language with
+minimal overhead. No FFI required.")
+ (license license:expat)))
+
(define-public ghc-weigh
(package
(name "ghc-weigh")
- 12/24: gnu: Add ghc-pqueue., (continued)
- 12/24: gnu: Add ghc-pqueue., Ricardo Wurmus, 2018/10/05
- 13/24: gnu: Add ghc-conduit-algorithms., Ricardo Wurmus, 2018/10/05
- 20/24: gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/05
- 18/24: gnu: Add ghc-safe-exceptions., Ricardo Wurmus, 2018/10/05
- 23/24: gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/05
- 04/24: gnu: Add ghc-chart-cairo., Ricardo Wurmus, 2018/10/05
- 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 <=
- 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, 2018/10/05