packages feed

dynamic-cabal-0.3.4: dynamic-cabal.cabal

name:          dynamic-cabal
version:       0.3.4
license:       BSD3
category:      Distribution
cabal-version: >= 1.10
license-file:  LICENSE
author:        Benno Fünfstück
maintainer:    Benno Fünfstück <benno.fuenfstueck@gmail.com>
stability:     experimental
homepage:      http://github.com/bennofs/dynamic-cabal/
bug-reports:   http://github.com/bennofs/dynamic-cabal/issues
copyright:     Copyright (C) 2013 Benno Fünfstück
synopsis:      Access the functions from the Cabal library without depending on it
description:
  This library allows you to extract information from cabal files without depending on the Cabal library. Since
  GHC currently depends on Cabal, it's difficult to directly use Cabal if you also like to use the GHC API. This package
  solves that problem by using the GHC API itself to interface with Cabal, which means that it can use whatever Cabal version
  the user has installed, at run time (the version is not fixed at compile time). For a short tutorial, see
  <https://github.com/bennofs/dynamic-cabal>.
build-type:    Custom
extra-source-files:
  .ghci
  .gitignore
  .travis.yml
  .vim.custom
  README.md

source-repository head
  type: git
  location: https://github.com/bennofs/dynamic-cabal.git

library
  hs-source-dirs: src
  default-language: Haskell2010
  ghc-options: -Wall
  build-depends:
      base >= 4.4 && < 5
    , ghc
    , ghc-paths
    , containers
    , time
    , haskell-generate
    , directory
    , filepath
    , haskell-src-exts
    , void
    , data-default
  exposed-modules:
      Distribution.Client.Dynamic
      Distribution.Client.Dynamic.Query
      Distribution.Client.Dynamic.LocalBuildInfo
      Distribution.Client.Dynamic.PackageDescription
  other-extensions: TemplateHaskell

test-suite dynamic-cabal-tests
  type:    exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: tests
  build-depends:
      base
    , ghc
    , dynamic-cabal
    , tasty
    , tasty-hunit
    , HUnit
    , tasty-th
    , containers
    , directory
  ghc-options: -Wall
  default-language: Haskell2010
  other-extensions: TemplateHaskell

test-suite doctests
  type:    exitcode-stdio-1.0
  main-is: doctests.hs
  default-language: Haskell2010
  build-depends:
      base
    , directory >= 1.0
    , doctest >= 0.9.1
    , filepath
  ghc-options: -Wall -threaded
  if impl(ghc<7.6.1)
    ghc-options: -Werror
  hs-source-dirs: tests