-- Initial ghc-srcspan-plugin.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                ghc-srcspan-plugin
version:             0.2.2.1
synopsis:            Generic GHC Plugin for annotating Haskell code with source
                     location data.
description:         This package provides a generic Core-to-Core pass for
                     annotating Haskell expressions with the original source
                     locations, making them available at runtime. 
                     .
                     You can use it to build a GHC Plugin tailored to
                     your own library by providing a predicate to select
                     interesting expressions for annotation and a function to
                     annotate the expressions.

license:             BSD3
license-file:        LICENSE
author:              Eric Seidel
maintainer:          eric@seidel.io
copyright:           Copyright (c) 2014, Galois Inc.
category:            Language
build-type:          Simple
cabal-version:       >=1.10

source-repository    head
  type:     git
  location: https://github.com/gridaphobe/ghc-srcspan-plugin

library
  exposed-modules:     GHC.Plugins.SrcSpan,
                       GHC.Plugins.ErrorLoc
  build-depends:       base >= 4.7 && < 5,
                       ghc >= 7.8,
                       array,
                       containers,
                       hpc
  hs-source-dirs:      src
  default-language:    Haskell2010