packages feed

DrIFT-2.4.2: DrIFT.cabal

name:                DrIFT
version:             2.4.2
synopsis:            Program to derive type class instances
description:         Data.Derive <http://hackage.haskell.org/package/derive> is good another solution for DrFIT.
                     But DrFIT is Haskell 98 compliant, derive is not.
                     .
                     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.
                     .
                     This package was cabalized by gwern <gwern0@gmail.com>.
category:            Data Structures
license:             BSD3
license-file:        LICENSE
-- For contributors & what they did, see AUTHORS
author:              Noel Winstanley, John Meacham <john@repetae.net>
maintainer:          gwern <gwern0@gmail.com>, Metasepi team <metasepi@gmail.com>
homepage:            http://repetae.net/computer/haskell/DrIFT/

Cabal-Version: >= 1.8
build-type:   Simple
data-files:   AUTHORS, Changelog, README.md, README.old, code/README.txt, docs/drift.texi, docs/drift.info,
              example/README, example/TestTerm.out.correct
extra-source-files:
       code/GhcBinary.hs, code/FunctorM.hs, example/TestTerm.hs, example/BTree.hs, example/Foo.lhs,
       example/Xref.hs, example/Artifical.hs, example/Example.hs

source-repository head
  type:     git
  location: https://github.com/ajhc/drift.git

library
    hs-source-dirs:  src
    build-depends:   base >= 4.0 && < 5
    exposed-modules: DrIFT.Version
    ghc-options:     -Wall -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-matches -fno-warn-unused-do-bind -fno-warn-missing-signatures

executable DrIFT
    build-depends:  base >= 4.0 && < 5, random, old-time, DrIFT
    main-is:        DrIFT.hs
    hs-source-dirs: src
    other-modules: CommandP, GenUtil, Rules, Rules.Binary,
                   Rules.GhcBinary, Rules.Arbitrary,
                   Rules.Monoid, Rules.BitsBinary, Rules.Xml,
                   Rules.Utility, Rules.Generic, Rules.Standard,
                   Rules.FunctorM, PreludData, ParseLib2,
                   DataP, ChaseImports, Pretty, RuleUtils,
                   Unlit, GetOpt
    ghc-options:    -Wall -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-matches -fno-warn-unused-do-bind -fno-warn-missing-signatures

executable drift-ghc
    build-depends: base >= 4.0 && < 5, process, filepath
    main-is:       drift-ghc.hs
    ghc-options:  -Wall -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-matches -fno-warn-unused-do-bind -fno-warn-missing-signatures