X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mailbox-count.cabal;h=4852d92fa590e9e234b63faa98e6852604e8ca6b;hb=a70e43f3ee42517d9e18e69cf482471c626645b6;hp=0b7fa2939c12d44a816e660a433431cf01b551a3;hpb=17ce59153f9b7aef917bb4395cf8fb992a6f738c;p=mailbox-count.git diff --git a/mailbox-count.cabal b/mailbox-count.cabal index 0b7fa29..4852d92 100644 --- a/mailbox-count.cabal +++ b/mailbox-count.cabal @@ -1,5 +1,5 @@ name: mailbox-count -version: 0.0.3 +version: 0.0.4 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky @@ -153,7 +153,7 @@ description: executable mailbox-count build-depends: - base >= 4.6 && < 5, + base >= 4.8 && < 5, cmdargs >= 0.10, configurator >= 0.2, containers >= 0.5, @@ -163,9 +163,13 @@ executable mailbox-count HDBC-postgresql >= 2.3, HDBC-sqlite3 >= 2.3, MissingH >= 1.2, - semigroups >= 0.18, tasty >= 0.8, tasty-hunit >= 0.8 + -- Data.Semigroup was added to GHC.Base in ghc-8.0 + if impl(ghc < 8.0) + -- The minor version 0.18.2 deleted the entire API? + build-depends: semigroups < 0.18.2 + main-is: Main.hs @@ -188,8 +192,19 @@ test-suite testsuite type: exitcode-stdio-1.0 hs-source-dirs: src test main-is: TestSuite.hs + + other-modules: + Configuration + OptionalConfiguration + -- WARNING: the Paths_mailbox_count module is automatically generated by + -- Cabal itself. We don't want it included in the release tarballs, + -- since we typically want the paths that the user has configured. + -- Nevertheless, Cabal will complain if we don't include it here. + Paths_mailbox_count + Report + build-depends: - base >= 4.6 && < 5, + base >= 4.8 && < 5, cmdargs >= 0.10, configurator >= 0.2, containers >= 0.5, @@ -199,10 +214,12 @@ test-suite testsuite HDBC-postgresql >= 2.3, HDBC-sqlite3 >= 2.3, MissingH >= 1.2, - semigroups >= 0.18, tasty >= 0.8, tasty-hunit >= 0.8 - + -- Data.Semigroup was added to GHC.Base in ghc-8.0 + if impl(ghc < 8.0) + -- The minor version 0.18.2 deleted the entire API? + build-depends: semigroups < 0.18.2 test-suite doctests @@ -210,7 +227,7 @@ test-suite doctests hs-source-dirs: test main-is: Doctests.hs build-depends: - base >= 4.6 && < 5, + base >= 4.8 && < 5, -- Additional test dependencies. doctest >= 0.9, filemanip >= 0.3.6