name: cabal-helper version: 0.8.0.0 synopsis: Simple interface to some of Cabal's configuration state used by ghc-mod description: @cabal-helper@ provides a library which wraps the internal use of an executable to lift the restrictions imposed by linking against versions of GHC before @7.10@. This has the pleasant side effect of isolating the user from having to deal with Cabal version changes manually as @cabal-helper@ can simply recompile it's helper program automatically as needed. . @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 license-files: LICENSE LICENSE.cabal-dependency-licenses author: Daniel Gröber maintainer: dxld@darkboxed.org category: Distribution build-type: Custom cabal-version: >=1.14 extra-source-files: README.md CabalHelper/Runtime/*.hs source-repository head type: git location: https://github.com/DanielG/cabal-helper.git custom-setup setup-depends: base , Cabal (>= 1.14 && < 1.25) || (>= 2.0 && < 2.1) , containers , filepath , directory , process , template-haskell , transformers library default-language: Haskell2010 default-extensions: NondecreasingIndentation exposed-modules: Distribution.Helper other-modules: CabalHelper.Shared.Sandbox CabalHelper.Shared.Types Paths_cabal_helper ghc-options: -Wall build-depends: base < 5 && >= 4.5 , Cabal < 2.1 && >= 2.0 || < 1.26 && >= 1.14 , directory < 1.4 && >= 1.1.0.2 , filepath < 1.5 && >= 1.3.0.0 , transformers < 0.6 && >= 0.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 , ghc-prim executable cabal-helper-wrapper default-language: Haskell2010 default-extensions: NondecreasingIndentation other-extensions: TemplateHaskell main-is: CabalHelper/Compiletime/Wrapper.hs other-modules: CabalHelper.Compiletime.Compat.Version CabalHelper.Compiletime.Compile CabalHelper.Compiletime.Data CabalHelper.Compiletime.GuessGhc CabalHelper.Compiletime.Log CabalHelper.Shared.Common CabalHelper.Shared.Sandbox CabalHelper.Shared.Types Paths_cabal_helper ghc-options: -Wall scope: private x-scope: private build-depends: base < 5 && >= 4.5 , Cabal < 2.1 && >= 2.0 || < 1.26 && >= 1.14 , bytestring < 0.11 && >= 0.9.2.1 , directory < 1.4 && >= 1.1.0.2 , exceptions < 0.9 && >= 0.8.3 , filepath < 1.5 && >= 1.3.0.0 , transformers < 0.6 && >= 0.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 , temporary < 1.3 && >= 1.2.0.4 , utf8-string < 1.1 && >= 1.0.1.1 , time < 1.9 && >= 1.8.0.3 , template-haskell , ghc-prim test-suite compile-test default-language: Haskell2010 default-extensions: NondecreasingIndentation type: exitcode-stdio-1.0 main-is: tests/CompileTest.hs other-modules: CabalHelper.Compiletime.Compat.Version CabalHelper.Compiletime.Compile CabalHelper.Compiletime.Data CabalHelper.Compiletime.Log CabalHelper.Shared.Common CabalHelper.Shared.Sandbox CabalHelper.Shared.Types Distribution.Helper Paths_cabal_helper hs-source-dirs: . ghc-options: -Wall build-tools: cabal build-depends: base < 5 && >= 4.5 , bytestring < 0.11 && >= 0.9.2.1 , Cabal < 2.1 && >= 2.0 || < 1.26 && >= 1.14 , directory < 1.4 && >= 1.1.0.2 , filepath < 1.5 && >= 1.3.0.0 , transformers < 0.6 && >= 0.3.0.0 , mtl < 2.3 && >= 2.0 , process < 1.7 && >= 1.1.0.1 , temporary < 1.3 && >= 1.2.0.4 , utf8-string < 1.1 && >= 1.0.1.1 , time < 1.9 && >= 1.8.0.3 -- additional test deps , extra < 1.6 && >= 1.4.10 , unix < 2.8 && >= 2.5.1.0 , template-haskell , ghc-prim -- TODO: Use cabal_macros.h to replace -D flags by including it in -- CabalHelper.Data -- executable cabal-helper-main default-language: Haskell2010 default-extensions: NondecreasingIndentation if flag(dev) buildable: True else buildable: False main-is: CabalHelper/Runtime/Main.hs other-modules: CabalHelper.Runtime.Licenses CabalHelper.Shared.Common CabalHelper.Shared.Sandbox CabalHelper.Shared.Types ghc-options: -Wall -fno-warn-unused-imports build-depends: base , Cabal , containers , bytestring , filepath , directory flag dev description: Build development components default: False manual: True