Permalink
Browse files

Split into two packages ghc-syb (instances only) and ghc-syb-utils.

  • Loading branch information...
1 parent b2c29fa commit a6b924536805d7831df6d564b787fa01d72143f5 @nominolo nominolo committed Mar 28, 2010
Showing with 65 additions and 9 deletions.
  1. +6 −9 instances/ghc-syb.cabal
  2. 0 {instances → utils}/GHC/SYB/Utils.hs
  3. +29 −0 utils/LICENSE
  4. +4 −0 utils/Setup.hs
  5. +26 −0 utils/ghc-syb-utils.cabal
View
@@ -1,30 +1,27 @@
name: ghc-syb
-version: 0.1.2.2
+version: 0.2.0.0
license: BSD3
license-file: LICENSE
author: Claus Reinke
copyright: (c) Claus Reinke 2008
maintainer: Thomas Schilling <nominolo@googlemail.com>
homepage: http://github.com/nominolo/ghc-syb
-description: Scrap Your Boilerplate instances and utils for the GHC API.
-synopsis: SYB instances for the GHC API
+description: Data and Typeable instances for the GHC API.
+synopsis: Data and Typeable instances for the GHC API.
category: Development
stability: provisional
build-type: Simple
cabal-version: >= 1.2.3
-tested-with: GHC ==6.10.1, GHC ==6.10.4
--- extra-source-files: README
+tested-with: GHC ==6.10.4, GHC ==6.12.1
library
build-depends: base >= 4 && < 5,
- syb >= 0.1 && < 0.2,
ghc >= 6.10 && < 6.14
hs-source-dirs: .
extensions: CPP, TypeSynonymInstances, StandaloneDeriving,
DeriveDataTypeable, ScopedTypeVariables,
- RankNTypes
- exposed-modules: GHC.SYB.Instances,
- GHC.SYB.Utils
+ Rank2Types
+ exposed-modules: GHC.SYB.Instances
if impl(ghc >= 6.12)
cpp-options: -DCAN_SPELL -DHAS_SIMPLE_DOCS -DHAS_TUPARG
if impl(ghc < 6.12)
File renamed without changes.
View
@@ -0,0 +1,29 @@
+Copyright 2008, Claus Reinke
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+- Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+- Neither name of the author nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND THE CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY
+COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1,4 @@
+#!/usr/bin/env runhaskell
+import Distribution.Simple
+main :: IO ()
+main = defaultMain
View
@@ -0,0 +1,26 @@
+name: ghc-syb-utils
+version: 0.2.0.0
+license: BSD3
+license-file: LICENSE
+author: Claus Reinke
+copyright: (c) Claus Reinke 2008
+maintainer: Thomas Schilling <nominolo@googlemail.com>
+homepage: http://github.com/nominolo/ghc-syb
+description: Scrap Your Boilerplate utilities for the GHC API.
+synopsis: Scrap Your Boilerplate utilities for the GHC API.
+category: Development
+stability: provisional
+build-type: Simple
+cabal-version: >= 1.6
+tested-with: GHC ==6.10.4, GHC ==6.12.1
+
+library
+ build-depends: base >= 4 && < 5,
+ ghc-syb == 0.2.*,
+ syb == 0.1.*,
+ ghc >= 6.10 && < 6.14
+
+ hs-source-dirs: .
+ extensions: Rank2Types
+
+ exposed-modules: GHC.SYB.Utils

0 comments on commit a6b9245

Please sign in to comment.