From ee8a06460770b45bdc0268fc6721ddae3d051753 Mon Sep 17 00:00:00 2001 From: all-cabal-tool Date: Fri, 31 Jan 2020 00:52:24 +0000 Subject: [PATCH] Update from Hackage at 2020-01-31T00:47:56Z --- inline-c-cpp/0.4.0.2/inline-c-cpp.cabal | 60 +++++++++++++++++++++++++ inline-c-cpp/0.4.0.2/inline-c-cpp.json | 1 + 2 files changed, 61 insertions(+) create mode 100644 inline-c-cpp/0.4.0.2/inline-c-cpp.cabal create mode 100644 inline-c-cpp/0.4.0.2/inline-c-cpp.json diff --git a/inline-c-cpp/0.4.0.2/inline-c-cpp.cabal b/inline-c-cpp/0.4.0.2/inline-c-cpp.cabal new file mode 100644 index 00000000000..55515ae427f --- /dev/null +++ b/inline-c-cpp/0.4.0.2/inline-c-cpp.cabal @@ -0,0 +1,60 @@ +name: inline-c-cpp +version: 0.4.0.2 +synopsis: Lets you embed C++ code into Haskell. +description: Utilities to inline C++ code into Haskell using inline-c. See + tests for example on how to build. +license: MIT +license-file: LICENSE +author: Francesco Mazzoli +maintainer: f@mazzo.li +copyright: (c) 2015-2016 FP Complete Corporation, (c) 2017-2019 Francesco Mazzoli +category: FFI +tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5 +build-type: Simple +cabal-version: >=1.10 +extra-source-files: test/*.h + +source-repository head + type: git + location: https://github.com/fpco/inline-c + +library + exposed-modules: Language.C.Inline.Cpp + Language.C.Inline.Cpp.Exceptions + build-depends: base >=4.7 && <5 + , inline-c >= 0.9.0.0 + , template-haskell + , safe-exceptions + , containers + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall -optc-xc++ -optc-std=c++11 + include-dirs: include + install-includes: HaskellException.hxx HaskellStablePtr.hxx + extra-libraries: stdc++ + c-sources: cxx-src/HaskellException.cxx cxx-src/HaskellStablePtr.cxx + cc-options: -Wall -std=c++11 + if os(darwin) + -- avoid https://gitlab.haskell.org/ghc/ghc/issues/11829 + ld-options: -Wl,-keep_dwarf_unwind + ghc-options: -pgmc=clang++ + +test-suite tests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: tests.hs + build-depends: base >=4 && <5 + , inline-c + , inline-c-cpp + , safe-exceptions + , hspec + , containers + default-language: Haskell2010 + ghc-options: + -optc-std=c++11 + if os(darwin) + ghc-options: -pgmc=clang++ + extra-libraries: stdc++ + cc-options: -Wall -Werror -optc-xc++ -std=c++11 + if os(darwin) + ld-options: -Wl,-keep_dwarf_unwind diff --git a/inline-c-cpp/0.4.0.2/inline-c-cpp.json b/inline-c-cpp/0.4.0.2/inline-c-cpp.json new file mode 100644 index 00000000000..ee5a4ec706c --- /dev/null +++ b/inline-c-cpp/0.4.0.2/inline-c-cpp.json @@ -0,0 +1 @@ +{"package-hashes":{"MD5":"dd080d1656a50ef38c31ca1a3c5b80b6","Skein512_512":"04da015922660776929c1847177cb030ba2f1bdf439d9c4ac0b8e4c9bcebbdc9f8a769fda80f463c79d90da87677d69beb3c848b3385e2f38585688c63c075b8","SHA1":"ac28b6e3b5a7c16ed42112ee68c0add852400443","SHA512":"730b4f51c2f526c8d5136742b1c66ce487cdfa1641b1216dca0a6f47c5535980d837d3636156f7381c2e7e9f89f230bde3c521cd11b8374d05f1a00dfc250131","SHA256":"f7c6a6fb1c22784b9592461e4ffcad964665a9b130f824f3f176c943b0b06759"},"package-locations":["https://hackage.haskell.org/package/inline-c-cpp-0.4.0.2/inline-c-cpp-0.4.0.2.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/inline-c-cpp-0.4.0.2.tar.gz"],"package-size":7700} \ No newline at end of file