packages feed

pugs-DrIFT-2.2.3.0: pugs-DrIFT.cabal

name:                pugs-DrIFT
version:             2.2.3.0
synopsis:            DrIFT with pugs-specific rules.
description:         DrIFT is a type sensitive preprocessor for Haskell. It extracts type declarations
                     and directives from modules. The directives cause rules to be fired on the parsed
                     type declarations, generating new code which is then appended to the bottom of the input
                     file. The rules are expressed as Haskell code, and it is intended that the user can add new
                     rules as required.
                     DrIFT automates instance derivation for classes that aren't supported by the standard compilers.
                     In addition, instances can be produced in seperate modules to that containing the type declaration.
                     This allows instances to be derived for a type after the original module has been compiled.
                     As a bonus, simple utility functions can also be produced from a type.
category:            Pugs
license:             BSD3
license-file:        LICENSE
-- For contributors & what they did, see AUTHORS
author:              Noel Winstanley
maintainer:          Audrey Tang <audreyt@audreyt.org>
homepage:            http://pugscode.org/
exposed-modules:     DrIFT.JSON
                     DrIFT.Perl5
                     DrIFT.Perl6Class
                     DrIFT.YAML
hs-source-dirs:      src
build-depends:       base, haskell98, bytestring, utf8-string, pretty, containers, mtl, stm, HsSyck
build-type:          Simple
data-files:          AUTHORS, ChangeLog, README, README.old
extensions:          ParallelListComp, ScopedTypeVariables,
                     ImplicitParams, MagicHash, TypeSynonymInstances,
                     OverlappingInstances, FlexibleContexts,
                     UndecidableInstances, FlexibleInstances,
                     IncoherentInstances
                     -- , PArr
ghc-options:         -fparr

extra-source-files:
        src/CommandP.hs, src/GenUtil.hs,
        src/DrIFT.hs, src/PreludData.hs src/Rules.hs, src/ParseLib2.hs,
        src/Version.hs, src/DataP.lhs src/ChaseImports.hs, src/Pretty.lhs,
        src/RuleUtils.hs, src/Unlit.hs, src/GetOpt.hs, drift-ghc.in,

        src/Rules/JSON.hs,
        src/Rules/Perl5.hs,
        src/Rules/Perl6Class.hs,
        src/Rules/YAML.hs

executable:          pugs-DrIFT
main-is:             DrIFT.hs
hs-source-dirs:      src
extensions:          ParallelListComp