Make ghc-boot Hackage-ready
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 19 Dec 2015 18:02:15 +0000 (19:02 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 19 Dec 2015 18:02:15 +0000 (19:02 +0100)
GHC 7.8 / base-4.7 is the oldest GHC/base version compatible with this
package, so let's declare this properly in the cabal file.

libraries/ghc-boot/GHC/Serialized.hs
libraries/ghc-boot/changelog.md [new file with mode: 0644]
libraries/ghc-boot/ghc-boot.cabal

index 39fa6a7..fbb9684 100644 (file)
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, RankNTypes, ScopedTypeVariables #-}
+{-# LANGUAGE RankNTypes, ScopedTypeVariables #-}
 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
 
 --
diff --git a/libraries/ghc-boot/changelog.md b/libraries/ghc-boot/changelog.md
new file mode 100644 (file)
index 0000000..f429a84
--- /dev/null
@@ -0,0 +1,5 @@
+## 0.0.0.0  *Feb 2016*
+
+  * Bundled with GHC 7.10.1
+
+  * Initial version
index 4439153..f9516b6 100644 (file)
@@ -1,8 +1,10 @@
 name:           ghc-boot
 version:        0.0.0.0
 license:        BSD3
+license-file:   LICENSE
+category:       GHC
 maintainer:     ghc-devs@haskell.org
-bug-reports:    glasgow-haskell-bugs@haskell.org
+bug-reports:    https://ghc.haskell.org/trac/ghc/newticket
 synopsis:       Shared functionality between GHC and its boot libraries
 description:    This library is shared between GHC, ghc-pkg, and other boot
                 libraries.
@@ -18,6 +20,7 @@ description:    This library is shared between GHC, ghc-pkg, and other boot
                 and program do not have to depend on Cabal.
 cabal-version:  >=1.10
 build-type:     Simple
+extra-source-files: changelog.md
 
 source-repository head
     type:     git
@@ -26,12 +29,7 @@ source-repository head
 
 Library
     default-language: Haskell2010
-    other-extensions:
-            GeneralizedNewtypeDeriving
-            RecordWildCards
-            StandaloneDeriving
-            Trustworthy
-            TypeSynonymInstances
+    other-extensions: DeriveGeneric, RankNTypes, ScopedTypeVariables
 
     exposed-modules:
             GHC.Lexeme
@@ -39,9 +37,9 @@ Library
             GHC.LanguageExtensions
             GHC.Serialized
 
-    build-depends: base       >= 4   && < 5,
+    build-depends: base       >= 4.7 && < 4.10,
                    binary     == 0.8.*,
-                   bytestring >= 0.9 && < 1,
-                   directory  >= 1   && < 1.3,
-                   filepath
+                   bytestring == 0.10.*,
+                   directory  == 1.2.*,
+                   filepath   >= 1.3 && < 1.5