packages feed

Cabal revisions of code-page-0.1

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
 name:                code-page
 version:             0.1
+x-revision: 1
 synopsis:            Windows code page library for Haskell
 description:         This library provides two modules:
                      .
   build-depends:       base >= 4.3 && < 5
   build-tools:         hsc2hs
   if os(windows)
+    build-depends:     base < 4.15
     cpp-options:       "-DWINDOWS"
     build-depends:     Win32
 
revision 2
 name:                code-page
 version:             0.1
-x-revision: 1
+x-revision: 2
 synopsis:            Windows code page library for Haskell
 description:         This library provides two modules:
                      .
 library
   exposed-modules:     System.IO.CodePage
                        System.Win32.CodePage
-  build-depends:       base >= 4.3 && < 5
+  -- I accidentally included a header file (windows_cconv.h)
+  -- that only builds on Windows without properly guarding
+  -- it behind `if os(windows)`. I have revised the
+  -- version bounds to make this version of code-page
+  -- unbuildable. (Ideally, this would only apply on
+  -- non-Windows OSes, but Hackage doesn't let you apply
+  -- conditional logic in revisions.)
+  build-depends:       base < 0
   build-tools:         hsc2hs
   if os(windows)
     build-depends:     base < 4.15