Skip to content

Commit

Permalink
Reformat ghcup.cabal
Browse files Browse the repository at this point in the history
  • Loading branch information
hseg committed Sep 11, 2024
1 parent b16722e commit 48e6c87
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions ghcup.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -66,44 +66,44 @@ flag tar

common app-common-depends
build-depends:
, aeson >=1.4
, aeson-pretty ^>=0.8.8
, async ^>=2.2.3
, base >=4.12 && <5
, bytestring >=0.10 && <0.12
, containers ^>=0.6
, deepseq ^>=1.4
, directory ^>=1.3.6.0
, filepath >=1.4.101.0
, variant ^>=1.0
, megaparsec >=8.0.0 && <9.3
, mtl ^>=2.2 || ^>=2.3
, aeson >=1.4
, aeson-pretty ^>=0.8.8
, async ^>=2.2.3
, base >=4.12 && <5
, bytestring >=0.10 && <0.12
, containers ^>=0.6
, deepseq ^>=1.4
, directory ^>=1.3.6.0
, filepath >=1.4.101.0
, megaparsec >=8.0.0 && <9.3
, mtl ^>=2.2 || ^>=2.3
, optics ^>=0.4
, optparse-applicative >=0.15.1.0 && <0.18
, pretty ^>=1.1.3.1
, pretty-terminal ^>=0.1.0.0
, process ^>=1.6.11.0
, resourcet ^>=1.2.2 || ^>=1.3
, safe ^>=0.3.18
, safe-exceptions ^>=0.1
, tagsoup ^>=0.14
, transformers ^>=0.5 || ^>=0.6
, template-haskell >=2.7 && <2.22
, temporary ^>=1.3
, text ^>=2.0
, time >=1.9.3 && <1.12
, unordered-containers ^>=0.2
, uri-bytestring ^>=0.3.2.2
, utf8-string ^>=1.0
, vector >=0.12 && <0.14
, versions >=6.0.5 && <6.1
, yaml ^>=0.11.0
, optparse-applicative >=0.15.1.0 && <0.18
, pretty ^>=1.1.3.1
, pretty-terminal ^>=0.1.0.0
, process ^>=1.6.11.0
, resourcet ^>=1.2.2 || ^>=1.3
, safe ^>=0.3.18
, safe-exceptions ^>=0.1
, tagsoup ^>=0.14
, template-haskell >=2.7 && <2.22
, temporary ^>=1.3
, text ^>=2.0
, time >=1.9.3 && <1.12
, transformers ^>=0.5 || ^>=0.6
, unordered-containers ^>=0.2
, uri-bytestring ^>=0.3.2.2
, utf8-string ^>=1.0
, variant ^>=1.0
, vector >=0.12 && <0.14
, versions >=6.0.5 && <6.1
, yaml ^>=0.11.0

if flag(tar)
cpp-options: -DTAR
build-depends:
tar ^>=0.6.0.0
, zip ^>=2.0.0
, tar ^>=0.6.0.0
, zip ^>=2.0.0

else
build-depends: libarchive ^>=3.0.3.0
Expand All @@ -120,8 +120,8 @@ library
GHCup.GHC
GHCup.HLS
GHCup.List
GHCup.Platform
GHCup.PlanJson
GHCup.Platform
GHCup.Prelude
GHCup.Prelude.File
GHCup.Prelude.File.Search
Expand All @@ -143,10 +143,10 @@ library
GHCup.Types.Stack
GHCup.Utils
GHCup.Utils.Dirs
GHCup.Utils.Parsers
GHCup.Utils.Tar
GHCup.Utils.Tar.Types
GHCup.Utils.URI
GHCup.Utils.Parsers
GHCup.Version

hs-source-dirs: lib
Expand Down Expand Up @@ -174,61 +174,61 @@ library

build-depends:
, aeson >=1.4
, async >=0.8 && <2.3
, base >=4.12 && <5
, base16-bytestring >=0.1.1.6 && <1.1
, async >=0.8 && <2.3
, base >=4.12 && <5
, base16-bytestring >=0.1.1.6 && <1.1
, binary ^>=0.8.6.0
, bytestring >=0.10 && <0.12
, bytestring >=0.10 && <0.12
, bz2 ^>=1.0.1.1
, Cabal ^>=3.0.0.0 || ^>=3.2.0.0 || ^>=3.4.0.0 || ^>=3.6.0.0 || ^>=3.8.0.0 || ^>= 3.10.0.0
, Cabal-syntax ^>=3.6.0.0 || ^>=3.8.0.0 || ^>= 3.10.0.0 || ^>= 3.12.0.0
, Cabal ^>=3.0.0.0 || ^>=3.2.0.0 || ^>=3.4.0.0 || ^>=3.6.0.0 || ^>=3.8.0.0 || ^>=3.10.0.0
, Cabal-syntax ^>=3.6.0.0 || ^>=3.8.0.0 || ^>=3.10.0.0 || ^>=3.12.0.0
, case-insensitive ^>=1.2.1.0
, casing ^>=0.1.4.1
, containers ^>=0.6
, conduit ^>=1.3
, containers ^>=0.6
, cryptohash-sha256 ^>=0.11.101.0
, deepseq ^>=1.4.4.0
, directory ^>=1.3.6.0
, disk-free-space ^>=0.1.0.1
, exceptions ^>=0.10
, filepath >=1.4.101.0
, file-uri ^>=0.1.0.0
, variant ^>=1.0
, filepath >=1.4.101.0
, lzma-static ^>=5.2.5.3
, megaparsec >=8.0.0 && <9.3
, mtl ^>=2.2 || ^>=2.3
, megaparsec >=8.0.0 && <9.3
, mtl ^>=2.2 || ^>=2.3
, optics ^>=0.4
, os-release ^>=1.0.0
, parsec
, pretty ^>=1.1.3.1
, pretty-terminal ^>=0.1.0.0
, regex-posix ^>=0.96
, resourcet ^>=1.2.2 || ^>=1.3
, retry >=0.8.1.2 && <0.10
, resourcet ^>=1.2.2 || ^>=1.3
, retry >=0.8.1.2 && <0.10
, safe ^>=0.3.18
, safe-exceptions ^>=0.1
, split ^>=0.2.3.4
, strict-base ^>=0.4
, template-haskell >=2.7 && <2.22
, template-haskell >=2.7 && <2.22
, temporary ^>=1.3
, text ^>=2.0
, time >=1.9.3 && <1.12
, transformers ^>=0.5 || ^>=0.6
, time >=1.9.3 && <1.12
, transformers ^>=0.5 || ^>=0.6
, unliftio-core ^>=0.2.0.1
, unordered-containers ^>=0.2.10.0
, uri-bytestring ^>=0.3.2.2
, utf8-string ^>=1.0
, vector >=0.12 && <0.14
, versions >=6.0.5 && <6.1
, variant ^>=1.0
, vector >=0.12 && <0.14
, versions >=6.0.5 && <6.1
, word8 ^>=0.1.3
, yaml ^>=0.11.0
, zlib ^>=0.6.2.2

if flag(tar)
cpp-options: -DTAR
build-depends:
tar ^>=0.6.0.0
, zip ^>=2.0.0
, tar ^>=0.6.0.0
, zip ^>=2.0.0

else
build-depends: libarchive ^>=3.0.3.0
Expand Down Expand Up @@ -267,7 +267,7 @@ library
c-sources: cbits/dirutils.c
build-depends:
, terminal-size ^>=0.3.3
, unix ^>=2.7 || ^>=2.8
, unix ^>=2.7 || ^>=2.8
, unix-bytestring ^>=0.4

if flag(tui)
Expand Down Expand Up @@ -319,32 +319,32 @@ library ghcup-optparse
cpp-options: -DINTERNAL_DOWNLOADER

if flag(tui)
cpp-options: -DBRICK
cpp-options: -DBRICK

if os(windows)
cpp-options: -DIS_WINDOWS

else
build-depends: unix ^>=2.7 || ^>=2.8
build-depends: unix ^>=2.7 || ^>=2.8

library ghcup-tui
import: app-common-depends
exposed-modules:
GHCup.BrickMain
GHCup.Brick.Widgets.Navigation
GHCup.Brick.Widgets.Tutorial
GHCup.Brick.Actions
GHCup.Brick.App
GHCup.Brick.Attributes
GHCup.Brick.BrickState
GHCup.Brick.Common
GHCup.Brick.Widgets.KeyInfo
GHCup.Brick.Widgets.SectionList
GHCup.Brick.Widgets.Menu
GHCup.Brick.Widgets.Menus.Context
GHCup.Brick.Widgets.Menus.AdvanceInstall
GHCup.Brick.Widgets.Menus.CompileGHC
GHCup.Brick.Widgets.Menus.CompileHLS
GHCup.Brick.Actions
GHCup.Brick.App
GHCup.Brick.BrickState
GHCup.Brick.Attributes
GHCup.Brick.Common
GHCup.Brick.Widgets.Menus.Context
GHCup.Brick.Widgets.Navigation
GHCup.Brick.Widgets.SectionList
GHCup.Brick.Widgets.Tutorial
GHCup.BrickMain

hs-source-dirs: lib-tui
default-language: Haskell2010
Expand All @@ -363,9 +363,9 @@ library ghcup-tui
-fwarn-incomplete-record-updates

build-depends:
, brick ^>=2.1
, ghcup
, brick ^>=2.1
, vty ^>=6.0 || ^>=6.1 || ^>=6.2
, vty ^>=6.0 || ^>=6.1 || ^>=6.2

if !flag(tui)
buildable: False
Expand All @@ -374,7 +374,7 @@ library ghcup-tui
cpp-options: -DIS_WINDOWS

else
build-depends: unix ^>=2.7 || ^>=2.8
build-depends: unix ^>=2.7 || ^>=2.8

executable ghcup
import: app-common-depends
Expand Down Expand Up @@ -443,22 +443,22 @@ test-suite ghcup-test
-fwarn-incomplete-record-updates

build-depends:
, base >=4.12 && <5
, bytestring >=0.10 && <0.12
, containers ^>=0.6
, base >=4.12 && <5
, bytestring >=0.10 && <0.12
, conduit ^>=1.3
, containers ^>=0.6
, directory ^>=1.3.6.0
, filepath >=1.4.101.0
, generic-arbitrary >=0.1.0 && <0.2.1 || >=0.2.2 && <0.3
, generic-arbitrary >=0.1.0 && <0.2.1 || >=0.2.2 && <0.3
, ghcup
, hspec >=2.7.10 && <2.12
, hspec >=2.7.10 && <2.12
, hspec-golden-aeson ^>=0.9
, QuickCheck ^>=2.14.1
, quickcheck-arbitrary-adt ^>=0.3.1.0
, text ^>=2.0
, time >=1.9.3 && <1.12
, time >=1.9.3 && <1.12
, uri-bytestring ^>=0.3.2.2
, versions >=6.0.5 && <6.1
, versions >=6.0.5 && <6.1

if os(windows)
cpp-options: -DIS_WINDOWS
Expand Down

0 comments on commit 48e6c87

Please sign in to comment.