--- a/stack.cabal +++ b/stack.cabal @@ -1,340 +1,341 @@ -name: stack -version: 1.1.2 -cabal-version: >=1.10 -build-type: Simple -license: BSD3 -license-file: LICENSE -maintainer: manny@fpcomplete.com -homepage: http://haskellstack.org -synopsis: The Haskell Tool Stack -description: - Please see the README.md for usage information, and - the wiki on Github for more details. Also, note that - the API for the library is not currently stable, and may - change significantly, even between minor releases. It is - currently only intended for use by the executable. -category: Development -author: Commercial Haskell SIG -extra-source-files: - CONTRIBUTING.md - ChangeLog.md - README.md - doc/*.md - test/package-dump/ghc-7.8.txt - test/package-dump/ghc-7.8.4-osx.txt - test/package-dump/ghc-7.10.txt - stack.yaml - -source-repository head - type: git - location: https://github.com/commercialhaskell/stack.git - -flag integration-tests - description: - Run the integration test suite - default: False - manual: True - -flag disable-git-info - description: - Disable compile-time inclusion of current git info in stack - default: False - manual: True - -flag static - description: - Pass -static/-pthread to ghc when linking the stack binary. - default: False - manual: True - -library - - if os(windows) - build-depends: - Win32 >=2.3.1.0 && <2.4 - cpp-options: -DWINDOWS - else - build-depends: - unix >=2.7.0.1 && <2.8 - exposed-modules: - Control.Concurrent.Execute - Data.Aeson.Extended - Data.Attoparsec.Args - Data.Attoparsec.Combinators - Data.Attoparsec.Interpreter - Data.Binary.VersionTagged - Data.IORef.RunOnce - Data.Maybe.Extra - Data.Monoid.Extra - Distribution.Version.Extra - Network.HTTP.Download - Network.HTTP.Download.Verified - Options.Applicative.Args - Options.Applicative.Builder.Extra - Options.Applicative.Complicated - Path.Extra - Path.Find - Paths_stack - Stack.Build - Stack.Build.Cache - Stack.Build.ConstructPlan - Stack.Build.Execute - Stack.Build.Haddock - Stack.Build.Installed - Stack.Build.Source - Stack.Build.Target - Stack.BuildPlan - Stack.Clean - Stack.Config - Stack.Config.Build - Stack.Config.Urls - Stack.Config.Docker - Stack.Config.Nix - Stack.ConfigCmd - Stack.Constants - Stack.Coverage - Stack.Docker - Stack.Docker.GlobalDB - Stack.Dot - Stack.Exec - Stack.Fetch - Stack.FileWatch - Stack.GhcPkg - Stack.Ghci - Stack.Ide - Stack.Image - Stack.Init - Stack.New - Stack.Nix - Stack.Options - Stack.Package - Stack.PackageDump - Stack.PackageIndex - Stack.SDist - Stack.Setup - Stack.Setup.Installed - Stack.Sig - Stack.Sig.GPG - Stack.Sig.Sign - Stack.Solver - Stack.Types - Stack.Types.Build - Stack.Types.BuildPlan - Stack.Types.Urls - Stack.Types.Compiler - Stack.Types.Config - Stack.Types.Config.Build - Stack.Types.Docker - Stack.Types.FlagName - Stack.Types.GhcPkgId - Stack.Types.Image - Stack.Types.Internal - Stack.Types.Nix - Stack.Types.Package - Stack.Types.PackageIdentifier - Stack.Types.PackageIndex - Stack.Types.PackageName - Stack.Types.Sig - Stack.Types.StackT - Stack.Types.TemplateName - Stack.Types.Version - Stack.Upgrade - Stack.Upload - System.Process.Log - System.Process.PagerEditor - System.Process.Read - System.Process.Run - build-depends: - Cabal >=1.18.1.5 && <1.25, - aeson >=0.8.0.2 && <0.10 || ==0.11.*, - ansi-terminal >=0.6.2.3 && <0.7, - async >=2.0.2 && <2.2, - attoparsec >=0.12.1.5 && <0.14, - base >=4.7 && <5, - base-compat >=0.6 && <0.10, - base16-bytestring >=0.1.1.6 && <0.2, - base64-bytestring >=1.0.0.1 && <1.1, - binary ==0.7.*, - binary-tagged >=0.1.1 && <0.2, - blaze-builder >=0.4.0.2 && <0.5, - byteable >=0.1.1 && <0.2, - bytestring >=0.10.6.0 && <0.11, - conduit >=1.2.4 && <1.3, - conduit-extra >=1.1.7.1 && <1.2, - containers >=0.5.5.1 && <0.6, - cryptohash >=0.11.6 && <0.12, - cryptohash-conduit >=0.1.1 && <0.2, - directory >=1.2.1.0 && <1.3, - edit-distance ==0.2.*, - either >=4.4.1.1 && <4.5, - enclosed-exceptions >=1.0.1.1 && <1.1, - errors >=2.1.2 && <2.2, - exceptions >=0.8.0.2 && <0.9, - extra >=1.4.6 && <1.5, - fast-logger >=2.3.1 && <2.5, - filelock >=0.1.0.1 && <0.2, - filepath >=1.3.0.2 && <1.5, - fsnotify >=0.2.1 && <0.3, - generic-deriving >=1.9.0 && <1.10, - hashable >=1.2.3.2 && <1.3, - hit >=0.6.3 && <0.7, - hpc >=0.6.0.2 && <0.7, - http-client >=0.4.17 && <0.5, - http-client-tls >=0.2.2 && <0.3, - http-conduit >=2.1.7 && <2.2, - http-types >=0.8.6 && <0.10, - lifted-base >=0.2.3.6 && <0.3, - microlens >=0.3.0.0 && <0.5, - monad-control >=1.0.1.0 && <1.1, - monad-logger >=0.3.13.1 && <0.4, - monad-unlift >=0.1.2.0 && <0.2, - mtl >=2.1.3.1 && <2.3, - open-browser >=0.2.1 && <0.3, - optparse-applicative >=0.11 && <0.13, - path >=0.5.1 && <0.6, - path-io >=1.1.0 && <2.0.0, - persistent >=2.1.2 && <2.6, - persistent-sqlite >=2.1.4 && <2.6, - persistent-template >=2.1.1 && <2.6, - pretty >=1.1.1.1 && <1.2, - process >=1.2.0.0 && <1.3, - regex-applicative-text >=0.1.0.1 && <0.2, - resourcet >=1.1.4.1 && <1.2, - retry >=0.6 && <0.8, - safe ==0.3.*, - semigroups >=0.5 && <0.19, - split >=0.2.3.1 && <0.3, - stm >=2.4.4 && <2.5, - streaming-commons >=0.1.10.0 && <0.2, - tar >=0.4.1.0 && <0.6, - template-haskell >=2.9.0.0 && <2.11, - temporary >=1.2.0.3 && <1.3, - text >=1.2.0.4 && <1.3, - text-binary >=0.2.1 && <0.3, - time >=1.4.2 && <1.6, - tls >=1.3.8 && <1.4, - transformers >=0.3.0.0 && <0.5, - transformers-base >=0.4.4 && <0.5, - unix-compat >=0.4.1.4 && <0.5, - unordered-containers >=0.2.5.1 && <0.3, - vector >=0.10.12.3 && <0.12, - vector-binary-instances >=0.2.3.2 && <0.3, - yaml >=0.8.10.1 && <0.9, - zlib >=0.5.4.2 && <0.7, - deepseq ==1.4.*, - hastache >=0.6.1 && <0.7, - project-template ==0.2.*, - zip-archive >=0.2.3.7 && <0.3, - hpack >=0.14.0 && <0.15 - default-language: Haskell2010 - hs-source-dirs: src/ - ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates - -executable stack - - if flag(static) - ld-options: -static -pthread - - if os(windows) - build-depends: - Win32 >=2.3.1.0 && <2.4 - cpp-options: -DWINDOWS - - if !flag(disable-git-info) - build-depends: - gitrev >=1.1 && <1.3, - optparse-simple >=0.0.3 && <0.1 - cpp-options: -DUSE_GIT_INFO - main-is: Main.hs - build-depends: - Cabal >=1.18.1.5 && <1.25, - base >=4.7 && <5, - bytestring >=0.10.4.0 && <0.11, - containers >=0.5.5.1 && <0.6, - directory >=1.2.2.0 && <1.3, - filelock >=0.1.0.1 && <0.2, - filepath >=1.4.0.0 && <1.5, - http-client >=0.4.28 && <0.5, - lifted-base >=0.2.3.6 && <0.3, - microlens >=0.3.0.0 && <0.5, - monad-control >=1.0.1.0 && <1.1, - monad-logger >=0.3.13.1 && <0.4, - mtl >=2.1.3.1 && <2.3, - optparse-applicative >=0.11.0.2 && <0.13, - path >=0.5.7 && <0.6, - path-io >=1.1.0 && <2.0.0, - stack >=1.1.2 && <1.2, - text >=1.2.0.4 && <1.3, - transformers >=0.4.2.0 && <0.5 - default-language: Haskell2010 - hs-source-dirs: src/main - other-modules: - Paths_stack - ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates - -test-suite stack-test - type: exitcode-stdio-1.0 - main-is: Test.hs - build-depends: - Cabal >=1.18.1.5 && <1.25, - QuickCheck >=2.8.1 && <2.9, - attoparsec >=0.13.0.2 && <0.14, - base >=4.7 && <5, - conduit >=1.2.6.6 && <1.3, - conduit-extra >=1.1.13.1 && <1.2, - containers >=0.5.5.1 && <0.6, - cryptohash >=0.11.6 && <0.12, - directory >=1.2.2.0 && <1.3, - exceptions >=0.8.2.1 && <0.9, - hspec >=2.2.3 && <2.3, - http-conduit >=2.1.10.1 && <2.2, - monad-logger >=0.3.18 && <0.4, - path >=0.5.7 && <0.6, - path-io >=1.1.0 && <2.0.0, - resourcet >=1.1.7.4 && <1.2, - retry >=0.6 && <0.8, - stack >=1.1.2 && <1.2, - temporary >=1.2.0.4 && <1.3, - text >=1.2.2.1 && <1.3, - transformers >=0.4.2.0 && <0.5 - default-language: Haskell2010 - hs-source-dirs: src/test - other-modules: - Spec - Stack.BuildPlanSpec - Stack.Build.ExecuteSpec - Stack.Build.TargetSpec - Stack.ConfigSpec - Stack.DotSpec - Stack.PackageDumpSpec - Stack.ArgsSpec - Stack.NixSpec - Network.HTTP.Download.VerifiedSpec - ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -test-suite stack-integration-test - - if !flag(integration-tests) - buildable: False - type: exitcode-stdio-1.0 - main-is: IntegrationSpec.hs - build-depends: - async >=2.1.0 && <2.2, - base >=4.7 && <5, - bytestring >=0.10.6.0 && <0.11, - conduit >=1.2.6.6 && <1.3, - conduit-extra >=1.1.13.1 && <1.2, - containers >=0.5.5.1 && <0.6, - directory >=1.2.2.0 && <1.3, - filepath >=1.4.0.0 && <1.5, - hspec >=2.2.3 && <2.3, - process >=1.2.3.0 && <1.3, - resourcet >=1.1.7.4 && <1.2, - temporary >=1.2.0.4 && <1.3, - text >=1.2.2.1 && <1.3, - transformers >=0.4.2.0 && <0.5, - unix-compat >=0.4.1.4 && <0.5 - default-language: Haskell2010 - hs-source-dirs: test/integration test/integration/lib - other-modules: - StackTest - ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates +name: stack +version: 1.1.2 +x-revision: 8 +cabal-version: >=1.10 +build-type: Simple +license: BSD3 +license-file: LICENSE +maintainer: manny@fpcomplete.com +homepage: http://haskellstack.org +synopsis: The Haskell Tool Stack +description: + Please see the README.md for usage information, and + the wiki on Github for more details. Also, note that + the API for the library is not currently stable, and may + change significantly, even between minor releases. It is + currently only intended for use by the executable. +category: Development +author: Commercial Haskell SIG +extra-source-files: + CONTRIBUTING.md + ChangeLog.md + README.md + doc/*.md + test/package-dump/ghc-7.8.txt + test/package-dump/ghc-7.8.4-osx.txt + test/package-dump/ghc-7.10.txt + stack.yaml + +source-repository head + type: git + location: https://github.com/commercialhaskell/stack.git + +flag integration-tests + description: + Run the integration test suite + default: False + manual: True + +flag disable-git-info + description: + Disable compile-time inclusion of current git info in stack + default: False + manual: True + +flag static + description: + Pass -static/-pthread to ghc when linking the stack binary. + default: False + manual: True + +library + + if os(windows) + build-depends: + Win32 >=2.3.1.0 && <2.4 + cpp-options: -DWINDOWS + else + build-depends: + unix >=2.7.0.1 && <2.8 + exposed-modules: + Control.Concurrent.Execute + Data.Aeson.Extended + Data.Attoparsec.Args + Data.Attoparsec.Combinators + Data.Attoparsec.Interpreter + Data.Binary.VersionTagged + Data.IORef.RunOnce + Data.Maybe.Extra + Data.Monoid.Extra + Distribution.Version.Extra + Network.HTTP.Download + Network.HTTP.Download.Verified + Options.Applicative.Args + Options.Applicative.Builder.Extra + Options.Applicative.Complicated + Path.Extra + Path.Find + Paths_stack + Stack.Build + Stack.Build.Cache + Stack.Build.ConstructPlan + Stack.Build.Execute + Stack.Build.Haddock + Stack.Build.Installed + Stack.Build.Source + Stack.Build.Target + Stack.BuildPlan + Stack.Clean + Stack.Config + Stack.Config.Build + Stack.Config.Urls + Stack.Config.Docker + Stack.Config.Nix + Stack.ConfigCmd + Stack.Constants + Stack.Coverage + Stack.Docker + Stack.Docker.GlobalDB + Stack.Dot + Stack.Exec + Stack.Fetch + Stack.FileWatch + Stack.GhcPkg + Stack.Ghci + Stack.Ide + Stack.Image + Stack.Init + Stack.New + Stack.Nix + Stack.Options + Stack.Package + Stack.PackageDump + Stack.PackageIndex + Stack.SDist + Stack.Setup + Stack.Setup.Installed + Stack.Sig + Stack.Sig.GPG + Stack.Sig.Sign + Stack.Solver + Stack.Types + Stack.Types.Build + Stack.Types.BuildPlan + Stack.Types.Urls + Stack.Types.Compiler + Stack.Types.Config + Stack.Types.Config.Build + Stack.Types.Docker + Stack.Types.FlagName + Stack.Types.GhcPkgId + Stack.Types.Image + Stack.Types.Internal + Stack.Types.Nix + Stack.Types.Package + Stack.Types.PackageIdentifier + Stack.Types.PackageIndex + Stack.Types.PackageName + Stack.Types.Sig + Stack.Types.StackT + Stack.Types.TemplateName + Stack.Types.Version + Stack.Upgrade + Stack.Upload + System.Process.Log + System.Process.PagerEditor + System.Process.Read + System.Process.Run + build-depends: + Cabal >=1.18.1.5 && <1.25, + aeson >=0.8.0.2 && <0.10 || ==0.11.*, + ansi-terminal >=0.6.2.3 && <0.7, + async >=2.0.2 && <2.2, + attoparsec >=0.12.1.5 && <0.14, + base >=4.7 && <5, + base-compat >=0.6 && <0.10, + base16-bytestring >=0.1.1.6 && <0.2, + base64-bytestring >=1.0.0.1 && <1.1, + binary >= 0.7 && < 0.9, + binary-tagged >=0.1.1 && <0.2, + blaze-builder >=0.4.0.2 && <0.5, + byteable >=0.1.1 && <0.2, + bytestring >=0.10.6.0 && <0.11, + conduit >=1.2.4 && <1.3, + conduit-extra >=1.1.7.1 && <1.2, + containers >=0.5.5.1 && <0.6, + cryptohash >=0.11.6 && <0.12, + cryptohash-conduit >=0.1.1 && <0.2, + directory >=1.2.1.0 && <1.3, + edit-distance ==0.2.*, + either >=4.4.1.1 && <4.5, + enclosed-exceptions >=1.0.1.1 && <1.1, + errors >=2.1.2 && <2.2, + exceptions >=0.8.0.2 && <0.9, + extra >=1.4.6 && <1.6, + fast-logger >=2.3.1 && <2.5, + filelock >=0.1.0.1 && <0.2, + filepath >=1.3.0.2 && <1.5, + fsnotify >=0.2.1 && <0.3, + generic-deriving >=1.9.0 && <1.12, + hashable >=1.2.3.2 && <1.3, + hit >=0.6.3 && <0.7, + hpc >=0.6.0.2 && <0.7, + http-client >=0.4.17 && <0.5, + http-client-tls >=0.2.2 && <0.3, + http-conduit >=2.1.7 && <2.2, + http-types >=0.8.6 && <0.10, + lifted-base >=0.2.3.6 && <0.3, + microlens >=0.3.0.0 && <0.5, + monad-control >=1.0.1.0 && <1.1, + monad-logger >=0.3.13.1 && <0.4, + monad-unlift >=0.1.2.0 && <0.3, + mtl >=2.1.3.1 && <2.3, + open-browser >=0.2.1 && <0.3, + optparse-applicative >=0.11 && <0.13, + path >=0.5.1 && <0.6, + path-io >=1.1.0 && <2.0.0, + persistent >= 2.1.2 && < 2.7, + persistent-sqlite (>= 2.1.4 && < 2.5.0.1) || (> 2.5.0.1 && < 2.7), + persistent-template >=2.1.1 && <2.6, + pretty >=1.1.1.1 && <1.2, + process >= 1.2.0.0 && < 1.5, + regex-applicative-text >=0.1.0.1 && <0.2, + resourcet >=1.1.4.1 && <1.2, + retry >=0.6 && <0.8, + safe ==0.3.*, + semigroups >=0.5 && <0.19, + split >=0.2.3.1 && <0.3, + stm >=2.4.4 && <2.5, + streaming-commons >=0.1.10.0 && <0.2, + tar >=0.4.1.0 && <0.6, + template-haskell >= 2.9.0.0 && < 2.12, + temporary >=1.2.0.3 && <1.3, + text >=1.2.0.4 && <1.3, + text-binary >=0.2.1 && <0.3, + time >= 1.4.2 && < 1.7, + tls >=1.3.8 && <1.4, + transformers >= 0.3.0.0 && < 0.6, + transformers-base >=0.4.4 && <0.5, + unix-compat >=0.4.1.4 && <0.5, + unordered-containers >=0.2.5.1 && <0.3, + vector >=0.10.12.3 && <0.12, + vector-binary-instances >=0.2.3.2 && <0.3, + yaml >=0.8.10.1 && <0.9, + zlib >=0.5.4.2 && <0.7, + deepseq ==1.4.*, + hastache >=0.6.1 && <0.7, + project-template ==0.2.*, + zip-archive >=0.2.3.7 && <0.4, + hpack >=0.14.0 && <0.15 + default-language: Haskell2010 + hs-source-dirs: src/ + ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates + +executable stack + + if flag(static) + ld-options: -static -pthread + + if os(windows) + build-depends: + Win32 >=2.3.1.0 && <2.4 + cpp-options: -DWINDOWS + + if !flag(disable-git-info) + build-depends: + gitrev >=1.1 && <1.3, + optparse-simple >=0.0.3 && <0.1 + cpp-options: -DUSE_GIT_INFO + main-is: Main.hs + build-depends: + Cabal >=1.18.1.5 && <1.25, + base >=4.7 && <5, + bytestring >=0.10.4.0 && <0.11, + containers >=0.5.5.1 && <0.6, + directory >=1.2.2.0 && <1.3, + filelock >=0.1.0.1 && <0.2, + filepath >=1.4.0.0 && <1.5, + http-client >=0.4.28 && <0.5, + lifted-base >=0.2.3.6 && <0.3, + microlens >=0.3.0.0 && <0.5, + monad-control >=1.0.1.0 && <1.1, + monad-logger >=0.3.13.1 && <0.4, + mtl >=2.1.3.1 && <2.3, + optparse-applicative >=0.11.0.2 && <0.13, + path >=0.5.7 && <0.6, + path-io >=1.1.0 && <2.0.0, + stack >=1.1.2 && <1.2, + text >=1.2.0.4 && <1.3, + transformers >= 0.3.0.0 && < 0.6 + default-language: Haskell2010 + hs-source-dirs: src/main + other-modules: + Paths_stack + ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates + +test-suite stack-test + type: exitcode-stdio-1.0 + main-is: Test.hs + build-depends: + Cabal >=1.18.1.5 && <1.25, + QuickCheck >=2.8.1 && <2.10, + attoparsec >=0.13.0.2 && <0.14, + base >=4.7 && <5, + conduit >=1.2.6.6 && <1.3, + conduit-extra >=1.1.13.1 && <1.2, + containers >=0.5.5.1 && <0.6, + cryptohash >=0.11.6 && <0.12, + directory >=1.2.2.0 && <1.3, + exceptions >=0.8.2.1 && <0.9, + hspec >=2.2.3 && <2.3, + http-conduit >=2.1.10.1 && <2.2, + monad-logger >=0.3.18 && <0.4, + path >=0.5.7 && <0.6, + path-io >=1.1.0 && <2.0.0, + resourcet >=1.1.7.4 && <1.2, + retry >=0.6 && <0.8, + stack >=1.1.2 && <1.2, + temporary >=1.2.0.4 && <1.3, + text >=1.2.2.1 && <1.3, + transformers >= 0.3.0.0 && < 0.6 + default-language: Haskell2010 + hs-source-dirs: src/test + other-modules: + Spec + Stack.BuildPlanSpec + Stack.Build.ExecuteSpec + Stack.Build.TargetSpec + Stack.ConfigSpec + Stack.DotSpec + Stack.PackageDumpSpec + Stack.ArgsSpec + Stack.NixSpec + Network.HTTP.Download.VerifiedSpec + ghc-options: -threaded -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates +test-suite stack-integration-test + + if !flag(integration-tests) + buildable: False + type: exitcode-stdio-1.0 + main-is: IntegrationSpec.hs + build-depends: + async >=2.1.0 && <2.2, + base >=4.7 && <5, + bytestring >=0.10.6.0 && <0.11, + conduit >=1.2.6.6 && <1.3, + conduit-extra >=1.1.13.1 && <1.2, + containers >=0.5.5.1 && <0.6, + directory >=1.2.2.0 && <1.3, + filepath >=1.4.0.0 && <1.5, + hspec >=2.2.3 && <2.3, + process >= 1.2.0.0 && < 1.5, + resourcet >=1.1.7.4 && <1.2, + temporary >=1.2.0.4 && <1.3, + text >=1.2.2.1 && <1.3, + transformers >= 0.3.0.0 && < 0.6, + unix-compat >=0.4.1.4 && <0.5 + default-language: Haskell2010 + hs-source-dirs: test/integration test/integration/lib + other-modules: + StackTest + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates