From 3f13096c688a233c87caf485c4af426dbb1c41a5 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Wed, 6 Jul 2016 20:48:18 +0200 Subject: Add hackage-metadata --- hackage-metadata/cabal-helper-0.3.5.0.cabal | 87 +++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 hackage-metadata/cabal-helper-0.3.5.0.cabal (limited to 'hackage-metadata/cabal-helper-0.3.5.0.cabal') diff --git a/hackage-metadata/cabal-helper-0.3.5.0.cabal b/hackage-metadata/cabal-helper-0.3.5.0.cabal new file mode 100644 index 0000000..af68fc0 --- /dev/null +++ b/hackage-metadata/cabal-helper-0.3.5.0.cabal @@ -0,0 +1,87 @@ +name: cabal-helper +version: 0.3.5.0 +synopsis: Simple interface to Cabal's configuration state used by ghc-mod +description: + @cabal-helper@ provides a library which wraps the internal use of executables + to lift the restrictions imposed by linking against versions of GHC before + @7.10@. + . + @cabal-helper@ uses a wrapper executable to compile the actual cabal-helper + executable at runtime while linking against an arbitrary version of + Cabal. This runtime-compiled helper executable is then used to extract + various bits and peices from Cabal\'s on disk state (dist/setup-config) + written by it's configure command. + . + In addition to this the wrapper executable also supports installing any + version of Cabal from hackage in case it cannot be found in any available + package database. The wrapper installs these instances of the Cabal library + into a private package database so as to not interfere with the user's + packages. + . + Furthermore the wrapper supports one special case namely reading a state + file for Cabal itself. This is needed as Cabal compiles it's Setup.hs using + itself and not using any version of Cabal installed in any package database. + . + @cabal-helper@ can compile with @Cabal >= 1.14@ but requires @Cabal >= 1.16@ + at runtime. + +license: AGPL-3 +license-file: LICENSE +author: Daniel Gröber +maintainer: dxld@darkboxed.org +category: Distribution +build-type: Custom +cabal-version: >=1.10 +extra-source-files: CabalHelper/Main.hs + +source-repository head + type: git + location: https://github.com/DanielG/cabal-helper.git + +library + exposed-modules: Distribution.Helper + Other-Modules: Paths_cabal_helper + , CabalHelper.Types + default-language: Haskell2010 + Build-Depends: base >= 4.5 && < 5 + , Cabal >= 1.14 && < 1.23 + , data-default + , directory + , filepath + , transformers + , mtl + , process + , ghc-prim + +Executable cabal-helper-wrapper + Default-Language: Haskell2010 + Other-Extensions: TemplateHaskell + Main-Is: CabalHelper/Wrapper.hs + Other-Modules: Paths_cabal_helper + CabalHelper.Types + CabalHelper.Common + CabalHelper.GuessGhc + CabalHelper.Data + GHC-Options: -Wall + X-Install-Target: $libexecdir + Build-Depends: base >= 4.5 && < 5 + , bytestring + , Cabal >= 1.14 && < 1.23 + , directory + , filepath + , process + , transformers + , template-haskell + , temporary + + +Test-Suite spec + Default-Language: Haskell2010 + Type: exitcode-stdio-1.0 + Main-Is: Spec.hs + Hs-Source-Dirs: tests + GHC-Options: -Wall + Build-Depends: base >= 4.5 && < 5 + , cabal-helper + , extra + , unix -- cgit v1.2.3