Tighten bounds for hackage
This commit is contained in:
parent
ad21640cd9
commit
7bb2552d0f
649
ghcup.cabal
649
ghcup.cabal
@ -1,21 +1,21 @@
|
|||||||
cabal-version: 3.0
|
cabal-version: 3.0
|
||||||
name: ghcup
|
name: ghcup
|
||||||
version: 0.1.14
|
version: 0.1.14
|
||||||
synopsis: ghc toolchain installer as an exe/library
|
license: LGPL-3.0-only
|
||||||
|
license-file: LICENSE
|
||||||
|
copyright: Julian Ospald 2020
|
||||||
|
maintainer: hasufell@posteo.de
|
||||||
|
author: Julian Ospald
|
||||||
|
homepage: https://gitlab.haskell.org/haskell/ghcup-hs
|
||||||
|
bug-reports: https://gitlab.haskell.org/haskell/ghcup-hs/issues
|
||||||
|
synopsis: ghc toolchain installer as an exe/library
|
||||||
description:
|
description:
|
||||||
A rewrite of the shell script ghcup, for providing
|
A rewrite of the shell script ghcup, for providing
|
||||||
a more stable user experience and exposing an API.
|
a more stable user experience and exposing an API.
|
||||||
|
|
||||||
homepage: https://gitlab.haskell.org/haskell/ghcup-hs
|
category: System
|
||||||
bug-reports: https://gitlab.haskell.org/haskell/ghcup-hs/issues
|
build-type: Simple
|
||||||
license: LGPL-3.0-only
|
extra-doc-files: CHANGELOG.md
|
||||||
license-file: LICENSE
|
|
||||||
author: Julian Ospald
|
|
||||||
maintainer: hasufell@posteo.de
|
|
||||||
copyright: Julian Ospald 2020
|
|
||||||
category: System
|
|
||||||
build-type: Simple
|
|
||||||
extra-doc-files: CHANGELOG.md
|
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
@ -27,7 +27,9 @@ flag tui
|
|||||||
manual: True
|
manual: True
|
||||||
|
|
||||||
flag internal-downloader
|
flag internal-downloader
|
||||||
description: Compile the internal downloader, which links against OpenSSL
|
description:
|
||||||
|
Compile the internal downloader, which links against OpenSSL
|
||||||
|
|
||||||
default: False
|
default: False
|
||||||
manual: True
|
manual: True
|
||||||
|
|
||||||
@ -36,290 +38,7 @@ flag tar
|
|||||||
default: False
|
default: False
|
||||||
manual: True
|
manual: True
|
||||||
|
|
||||||
common HsOpenSSL
|
|
||||||
build-depends: HsOpenSSL >=0.11.4.18
|
|
||||||
|
|
||||||
common aeson
|
|
||||||
build-depends: aeson >=1.4
|
|
||||||
|
|
||||||
common aeson-pretty
|
|
||||||
build-depends: aeson-pretty >=0.8.8
|
|
||||||
|
|
||||||
common ascii-string
|
|
||||||
build-depends: ascii-string >=1.0
|
|
||||||
|
|
||||||
common async
|
|
||||||
build-depends: async >=0.8
|
|
||||||
|
|
||||||
common base
|
|
||||||
build-depends: base >=4.13 && <5
|
|
||||||
|
|
||||||
common base16-bytestring
|
|
||||||
build-depends: base16-bytestring >= 0.1.1.6
|
|
||||||
|
|
||||||
common binary
|
|
||||||
build-depends: binary >=0.8.6.0
|
|
||||||
|
|
||||||
common brick
|
|
||||||
build-depends: brick >=0.54
|
|
||||||
|
|
||||||
common bytestring
|
|
||||||
build-depends: bytestring >=0.10
|
|
||||||
|
|
||||||
common bz2
|
|
||||||
build-depends: bz2 >=0.5.0.5
|
|
||||||
|
|
||||||
common case-insensitive
|
|
||||||
build-depends: case-insensitive >=1.2.1.0
|
|
||||||
|
|
||||||
common casing
|
|
||||||
build-depends: casing >=0.1.4.1
|
|
||||||
|
|
||||||
common concurrent-output
|
|
||||||
build-depends: concurrent-output >=1.10.11
|
|
||||||
|
|
||||||
common containers
|
|
||||||
build-depends: containers >=0.6
|
|
||||||
|
|
||||||
common cryptohash-sha256
|
|
||||||
build-depends: cryptohash-sha256 >= 0.11.101.0
|
|
||||||
|
|
||||||
common generic-arbitrary
|
|
||||||
build-depends: generic-arbitrary >=0.1.0
|
|
||||||
|
|
||||||
common generics-sop
|
|
||||||
build-depends: generics-sop >=0.5
|
|
||||||
|
|
||||||
common haskus-utils-types
|
|
||||||
build-depends: haskus-utils-types >=1.5
|
|
||||||
|
|
||||||
common haskus-utils-variant
|
|
||||||
build-depends: haskus-utils-variant >=3.0
|
|
||||||
|
|
||||||
common hpath
|
|
||||||
build-depends: hpath >=0.11
|
|
||||||
|
|
||||||
common hpath-directory
|
|
||||||
build-depends: hpath-directory >=0.14.1
|
|
||||||
|
|
||||||
common hpath-filepath
|
|
||||||
build-depends: hpath-filepath >=0.10.3
|
|
||||||
|
|
||||||
common hpath-io
|
|
||||||
build-depends: hpath-io >=0.14.1
|
|
||||||
|
|
||||||
common hpath-posix
|
|
||||||
build-depends: hpath-posix >=0.13.2
|
|
||||||
|
|
||||||
common http-io-streams
|
|
||||||
build-depends: http-io-streams >=0.1.2.0
|
|
||||||
|
|
||||||
common hspec
|
|
||||||
build-depends: hspec >=2.7.4
|
|
||||||
|
|
||||||
common hspec-golden-aeson
|
|
||||||
build-depends: hspec-golden-aeson >=0.7
|
|
||||||
|
|
||||||
common io-streams
|
|
||||||
build-depends: io-streams >=1.5
|
|
||||||
|
|
||||||
common libarchive
|
|
||||||
build-depends: libarchive >= 3.0.0.0
|
|
||||||
|
|
||||||
common lzma-static
|
|
||||||
build-depends: lzma-static >=5.2.5
|
|
||||||
|
|
||||||
common megaparsec
|
|
||||||
build-depends: megaparsec >=8.0.0
|
|
||||||
|
|
||||||
common monad-logger
|
|
||||||
build-depends: monad-logger >=0.3.31
|
|
||||||
|
|
||||||
common mtl
|
|
||||||
build-depends: mtl >=2.2
|
|
||||||
|
|
||||||
common optics
|
|
||||||
build-depends: optics >=0.2
|
|
||||||
|
|
||||||
common optics-vl
|
|
||||||
build-depends: optics-vl >=0.2
|
|
||||||
|
|
||||||
common optparse-applicative
|
|
||||||
build-depends: optparse-applicative >=0.15.1.0
|
|
||||||
|
|
||||||
common parsec
|
|
||||||
build-depends: parsec >=3.1
|
|
||||||
|
|
||||||
common pretty
|
|
||||||
build-depends: pretty >=1.1.3.1
|
|
||||||
|
|
||||||
common pretty-terminal
|
|
||||||
build-depends: pretty-terminal >=0.1.0.0
|
|
||||||
|
|
||||||
common regex-posix
|
|
||||||
build-depends: regex-posix >=0.96
|
|
||||||
|
|
||||||
common resourcet
|
|
||||||
build-depends: resourcet >=1.2.2
|
|
||||||
|
|
||||||
common safe
|
|
||||||
build-depends: safe >=0.3.18
|
|
||||||
|
|
||||||
common safe-exceptions
|
|
||||||
build-depends: safe-exceptions >=0.1
|
|
||||||
|
|
||||||
common split
|
|
||||||
build-depends: split >=0.2.3.4
|
|
||||||
|
|
||||||
common streamly
|
|
||||||
build-depends: streamly >=0.7.3
|
|
||||||
|
|
||||||
common streamly-posix
|
|
||||||
build-depends: streamly-posix >=0.1.0.0
|
|
||||||
|
|
||||||
common streamly-bytestring
|
|
||||||
build-depends: streamly-bytestring >=0.1.2
|
|
||||||
|
|
||||||
common strict-base
|
|
||||||
build-depends: strict-base >=0.4
|
|
||||||
|
|
||||||
common string-interpolate
|
|
||||||
build-depends: string-interpolate >=0.2.0.0
|
|
||||||
|
|
||||||
common template-haskell
|
|
||||||
build-depends: template-haskell >=2.7
|
|
||||||
|
|
||||||
common tar-bytestring
|
|
||||||
build-depends: tar-bytestring >=0.6.3.1
|
|
||||||
|
|
||||||
common terminal-progress-bar
|
|
||||||
build-depends: terminal-progress-bar >=0.4.1
|
|
||||||
|
|
||||||
common text
|
|
||||||
build-depends: text >=1.2.4.0
|
|
||||||
|
|
||||||
common time
|
|
||||||
build-depends: time >=1.9.3
|
|
||||||
|
|
||||||
common transformers
|
|
||||||
build-depends: transformers >=0.5
|
|
||||||
|
|
||||||
common os-release
|
|
||||||
build-depends: os-release >=1.0.0
|
|
||||||
|
|
||||||
common QuickCheck
|
|
||||||
build-depends: QuickCheck >=2.14.1
|
|
||||||
|
|
||||||
common quickcheck-arbitrary-adt
|
|
||||||
build-depends: quickcheck-arbitrary-adt >=0.3.1.0
|
|
||||||
|
|
||||||
common unix
|
|
||||||
build-depends: unix >=2.7
|
|
||||||
|
|
||||||
common unix-bytestring
|
|
||||||
build-depends: unix-bytestring >=0.3
|
|
||||||
|
|
||||||
common unordered-containers
|
|
||||||
build-depends: unordered-containers >= 0.2.10.0
|
|
||||||
|
|
||||||
common uri-bytestring
|
|
||||||
build-depends: uri-bytestring >=0.3.2.2
|
|
||||||
|
|
||||||
common utf8-string
|
|
||||||
build-depends: utf8-string >=1.0
|
|
||||||
|
|
||||||
common vector
|
|
||||||
build-depends: vector >=0.12
|
|
||||||
|
|
||||||
common versions
|
|
||||||
build-depends: versions >=4.0.1
|
|
||||||
|
|
||||||
common vty
|
|
||||||
build-depends: vty >=5.28.2
|
|
||||||
|
|
||||||
common word8
|
|
||||||
build-depends: word8 >=0.1.3
|
|
||||||
|
|
||||||
common yaml
|
|
||||||
build-depends: yaml >=0.11.4.0
|
|
||||||
|
|
||||||
common zlib
|
|
||||||
build-depends: zlib >=0.6.2.2
|
|
||||||
|
|
||||||
common config
|
|
||||||
default-language: Haskell2010
|
|
||||||
ghc-options:
|
|
||||||
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
|
|
||||||
-fwarn-incomplete-record-updates
|
|
||||||
|
|
||||||
default-extensions:
|
|
||||||
LambdaCase
|
|
||||||
MultiWayIf
|
|
||||||
PackageImports
|
|
||||||
RecordWildCards
|
|
||||||
ScopedTypeVariables
|
|
||||||
TupleSections
|
|
||||||
|
|
||||||
library
|
library
|
||||||
import:
|
|
||||||
config
|
|
||||||
, base
|
|
||||||
, base16-bytestring
|
|
||||||
, aeson
|
|
||||||
, ascii-string
|
|
||||||
, async
|
|
||||||
, binary
|
|
||||||
, bytestring
|
|
||||||
, bz2
|
|
||||||
, case-insensitive
|
|
||||||
, casing
|
|
||||||
, concurrent-output
|
|
||||||
, containers
|
|
||||||
, cryptohash-sha256
|
|
||||||
, generics-sop
|
|
||||||
, haskus-utils-types
|
|
||||||
, haskus-utils-variant
|
|
||||||
, hpath
|
|
||||||
, hpath-directory
|
|
||||||
, hpath-filepath
|
|
||||||
, hpath-io
|
|
||||||
, hpath-posix
|
|
||||||
, lzma-static
|
|
||||||
, megaparsec
|
|
||||||
, monad-logger
|
|
||||||
, mtl
|
|
||||||
, optics
|
|
||||||
, optics-vl
|
|
||||||
, parsec
|
|
||||||
, pretty
|
|
||||||
, pretty-terminal
|
|
||||||
, regex-posix
|
|
||||||
, resourcet
|
|
||||||
, safe
|
|
||||||
, safe-exceptions
|
|
||||||
, split
|
|
||||||
, streamly
|
|
||||||
, streamly-posix
|
|
||||||
, streamly-bytestring
|
|
||||||
, strict-base
|
|
||||||
, string-interpolate
|
|
||||||
, template-haskell
|
|
||||||
, text
|
|
||||||
, time
|
|
||||||
, transformers
|
|
||||||
, os-release
|
|
||||||
, unix
|
|
||||||
, unix-bytestring
|
|
||||||
, unordered-containers
|
|
||||||
, uri-bytestring
|
|
||||||
, utf8-string
|
|
||||||
, vector
|
|
||||||
, versions
|
|
||||||
, vty
|
|
||||||
, word8
|
|
||||||
, yaml
|
|
||||||
, zlib
|
|
||||||
|
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
GHCup
|
GHCup
|
||||||
GHCup.Download
|
GHCup.Download
|
||||||
@ -340,162 +59,240 @@ library
|
|||||||
GHCup.Utils.Version.QQ
|
GHCup.Utils.Version.QQ
|
||||||
GHCup.Version
|
GHCup.Version
|
||||||
|
|
||||||
other-modules:
|
hs-source-dirs: lib
|
||||||
Paths_ghcup
|
other-modules: Paths_ghcup
|
||||||
|
autogen-modules: Paths_ghcup
|
||||||
autogen-modules:
|
default-language: Haskell2010
|
||||||
Paths_ghcup
|
|
||||||
|
|
||||||
default-extensions:
|
default-extensions:
|
||||||
|
LambdaCase
|
||||||
|
MultiWayIf
|
||||||
|
PackageImports
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
Strict
|
Strict
|
||||||
StrictData
|
StrictData
|
||||||
|
TupleSections
|
||||||
|
|
||||||
-- other-extensions:
|
ghc-options:
|
||||||
hs-source-dirs: lib
|
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
|
||||||
|
-fwarn-incomplete-record-updates
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
, aeson >=1.4 && <1.6
|
||||||
|
, ascii-string ^>=1.0
|
||||||
|
, async >=0.8 && <2.3
|
||||||
|
, base >=4.13 && <5
|
||||||
|
, base16-bytestring >=0.1.1.6 && <1.1
|
||||||
|
, binary ^>=0.8.6.0
|
||||||
|
, bytestring ^>=0.10
|
||||||
|
, bz2 >=0.5.0.5 && <1.1
|
||||||
|
, case-insensitive ^>=1.2.1.0
|
||||||
|
, casing ^>=0.1.4.1
|
||||||
|
, concurrent-output ^>=1.10.11
|
||||||
|
, containers ^>=0.6
|
||||||
|
, cryptohash-sha256 ^>=0.11.101.0
|
||||||
|
, generics-sop ^>=0.5
|
||||||
|
, haskus-utils-types ^>=1.5
|
||||||
|
, haskus-utils-variant >=3.0 && <3.2
|
||||||
|
, hpath >=0.11 && <0.13
|
||||||
|
, hpath-directory ^>=0.14.1
|
||||||
|
, hpath-filepath ^>=0.10.3
|
||||||
|
, hpath-io ^>=0.14.1
|
||||||
|
, hpath-posix ^>=0.13.2
|
||||||
|
, lzma-static >=5.2.5
|
||||||
|
, megaparsec >=8.0.0 && <9.1
|
||||||
|
, monad-logger ^>=0.3.31
|
||||||
|
, mtl ^>=2.2
|
||||||
|
, optics >=0.2 && <0.5
|
||||||
|
, optics-vl ^>=0.2
|
||||||
|
, os-release ^>=1.0.0
|
||||||
|
, parsec ^>=3.1
|
||||||
|
, pretty ^>=1.1.3.1
|
||||||
|
, pretty-terminal ^>=0.1.0.0
|
||||||
|
, regex-posix ^>=0.96
|
||||||
|
, resourcet ^>=1.2.2
|
||||||
|
, safe ^>=0.3.18
|
||||||
|
, safe-exceptions ^>=0.1
|
||||||
|
, split ^>=0.2.3.4
|
||||||
|
, streamly ^>=0.7.3
|
||||||
|
, streamly-bytestring ^>=0.1.2
|
||||||
|
, streamly-posix ^>=0.1.0.0
|
||||||
|
, strict-base ^>=0.4
|
||||||
|
, string-interpolate >=0.2.0.0 && <0.4
|
||||||
|
, template-haskell >=2.7 && <2.17
|
||||||
|
, text ^>=1.2.4.0
|
||||||
|
, time ^>=1.9.3
|
||||||
|
, transformers ^>=0.5
|
||||||
|
, unix ^>=2.7
|
||||||
|
, unix-bytestring ^>=0.3
|
||||||
|
, unordered-containers ^>=0.2.10.0
|
||||||
|
, uri-bytestring ^>=0.3.2.2
|
||||||
|
, utf8-string ^>=1.0
|
||||||
|
, vector ^>=0.12
|
||||||
|
, versions ^>=4.0.1
|
||||||
|
, vty >=5.28.2 && <5.34
|
||||||
|
, word8 ^>=0.1.3
|
||||||
|
, yaml ^>=0.11.4.0
|
||||||
|
, zlib ^>=0.6.2.2
|
||||||
|
|
||||||
if flag(internal-downloader)
|
if flag(internal-downloader)
|
||||||
import:
|
|
||||||
HsOpenSSL
|
|
||||||
, http-io-streams
|
|
||||||
, io-streams
|
|
||||||
, terminal-progress-bar
|
|
||||||
exposed-modules: GHCup.Download.IOStreams
|
exposed-modules: GHCup.Download.IOStreams
|
||||||
cpp-options: -DINTERNAL_DOWNLOADER
|
cpp-options: -DINTERNAL_DOWNLOADER
|
||||||
|
build-depends:
|
||||||
|
, HsOpenSSL >=0.11.4.18
|
||||||
|
, http-io-streams >=0.1.2.0
|
||||||
|
, io-streams >=1.5
|
||||||
|
, terminal-progress-bar >=0.4.1
|
||||||
|
|
||||||
if flag(tar)
|
if flag(tar)
|
||||||
import:
|
cpp-options: -DTAR
|
||||||
tar-bytestring
|
build-depends: tar-bytestring >=0.6.3.1
|
||||||
cpp-options: -DTAR
|
|
||||||
else
|
else
|
||||||
import:
|
build-depends: libarchive ^>=3.0.0.0
|
||||||
libarchive
|
|
||||||
|
|
||||||
executable ghcup
|
executable ghcup
|
||||||
import:
|
main-is: Main.hs
|
||||||
config
|
hs-source-dirs: app/ghcup
|
||||||
, base
|
default-language: Haskell2010
|
||||||
, aeson
|
|
||||||
, bytestring
|
|
||||||
, containers
|
|
||||||
, haskus-utils-variant
|
|
||||||
, hpath
|
|
||||||
, hpath-io
|
|
||||||
, megaparsec
|
|
||||||
, monad-logger
|
|
||||||
, mtl
|
|
||||||
, optparse-applicative
|
|
||||||
, pretty
|
|
||||||
, pretty-terminal
|
|
||||||
, resourcet
|
|
||||||
, safe
|
|
||||||
, safe-exceptions
|
|
||||||
, string-interpolate
|
|
||||||
, template-haskell
|
|
||||||
, text
|
|
||||||
, uri-bytestring
|
|
||||||
, utf8-string
|
|
||||||
, versions
|
|
||||||
|
|
||||||
--
|
|
||||||
main-is: Main.hs
|
|
||||||
|
|
||||||
-- other-modules:
|
|
||||||
-- other-extensions:
|
|
||||||
build-depends: ghcup
|
|
||||||
hs-source-dirs: app/ghcup
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
default-extensions:
|
default-extensions:
|
||||||
|
LambdaCase
|
||||||
|
MultiWayIf
|
||||||
|
PackageImports
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
Strict
|
Strict
|
||||||
StrictData
|
StrictData
|
||||||
|
TupleSections
|
||||||
|
|
||||||
|
ghc-options:
|
||||||
|
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
|
||||||
|
-fwarn-incomplete-record-updates -threaded
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
, aeson >=1.4 && <1.6
|
||||||
|
, base >=4.13 && <5
|
||||||
|
, bytestring ^>=0.10
|
||||||
|
, containers ^>=0.6
|
||||||
|
, ghcup
|
||||||
|
, haskus-utils-variant >=3.0 && <3.2
|
||||||
|
, hpath >=0.11 && <0.13
|
||||||
|
, hpath-io ^>=0.14.1
|
||||||
|
, megaparsec >=8.0.0 && <9.1
|
||||||
|
, monad-logger ^>=0.3.31
|
||||||
|
, mtl ^>=2.2
|
||||||
|
, optparse-applicative >=0.15.1.0 && <0.17
|
||||||
|
, pretty ^>=1.1.3.1
|
||||||
|
, pretty-terminal ^>=0.1.0.0
|
||||||
|
, resourcet ^>=1.2.2
|
||||||
|
, safe ^>=0.3.18
|
||||||
|
, safe-exceptions ^>=0.1
|
||||||
|
, string-interpolate >=0.2.0.0 && <0.4
|
||||||
|
, template-haskell >=2.7 && <2.17
|
||||||
|
, text ^>=1.2.4.0
|
||||||
|
, uri-bytestring ^>=0.3.2.2
|
||||||
|
, utf8-string ^>=1.0
|
||||||
|
, versions ^>=4.0.1
|
||||||
|
|
||||||
if flag(internal-downloader)
|
if flag(internal-downloader)
|
||||||
cpp-options: -DINTERNAL_DOWNLOADER
|
cpp-options: -DINTERNAL_DOWNLOADER
|
||||||
|
|
||||||
if flag(tui)
|
if flag(tui)
|
||||||
import:
|
cpp-options: -DBRICK
|
||||||
brick
|
|
||||||
, vector
|
|
||||||
, vty
|
|
||||||
other-modules: BrickMain
|
other-modules: BrickMain
|
||||||
cpp-options: -DBRICK
|
build-depends:
|
||||||
|
, brick >=0.54
|
||||||
|
, vector >=0.12
|
||||||
|
, vty >=5.28.2
|
||||||
|
|
||||||
if flag(tar)
|
if flag(tar)
|
||||||
cpp-options: -DTAR
|
cpp-options: -DTAR
|
||||||
else
|
|
||||||
import:
|
|
||||||
libarchive
|
|
||||||
|
|
||||||
ghc-options:
|
else
|
||||||
-threaded
|
build-depends: libarchive ^>=3.0.0.0
|
||||||
|
|
||||||
executable ghcup-gen
|
executable ghcup-gen
|
||||||
import:
|
main-is: Main.hs
|
||||||
config
|
hs-source-dirs: app/ghcup-gen
|
||||||
, base
|
other-modules: Validate
|
||||||
, aeson
|
default-language: Haskell2010
|
||||||
, aeson-pretty
|
default-extensions:
|
||||||
, bytestring
|
LambdaCase
|
||||||
, containers
|
MultiWayIf
|
||||||
, haskus-utils-variant
|
PackageImports
|
||||||
, hpath
|
RecordWildCards
|
||||||
, hpath-filepath
|
ScopedTypeVariables
|
||||||
, libarchive
|
TupleSections
|
||||||
, monad-logger
|
|
||||||
, mtl
|
|
||||||
, optics
|
|
||||||
, optparse-applicative
|
|
||||||
, pretty
|
|
||||||
, pretty-terminal
|
|
||||||
, regex-posix
|
|
||||||
, resourcet
|
|
||||||
, safe-exceptions
|
|
||||||
, string-interpolate
|
|
||||||
, text
|
|
||||||
, transformers
|
|
||||||
, uri-bytestring
|
|
||||||
, utf8-string
|
|
||||||
, versions
|
|
||||||
, yaml
|
|
||||||
|
|
||||||
--
|
|
||||||
main-is: Main.hs
|
|
||||||
other-modules:
|
|
||||||
Validate
|
|
||||||
|
|
||||||
-- other-extensions:
|
|
||||||
build-depends: ghcup
|
|
||||||
hs-source-dirs: app/ghcup-gen
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
if flag(tar)
|
|
||||||
import:
|
|
||||||
tar-bytestring
|
|
||||||
cpp-options: -DTAR
|
|
||||||
|
|
||||||
ghc-options:
|
ghc-options:
|
||||||
-threaded
|
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
|
||||||
|
-fwarn-incomplete-record-updates -threaded
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
, aeson >=1.4 && <1.6
|
||||||
|
, aeson-pretty ^>=0.8.8
|
||||||
|
, base >=4.13 && <5
|
||||||
|
, bytestring ^>=0.10
|
||||||
|
, containers ^>=0.6
|
||||||
|
, ghcup
|
||||||
|
, haskus-utils-variant >=3.0 && <3.2
|
||||||
|
, hpath >=0.11 && <0.13
|
||||||
|
, hpath-filepath ^>=0.10.3
|
||||||
|
, libarchive ^>=3.0.0.0
|
||||||
|
, monad-logger ^>=0.3.31
|
||||||
|
, mtl ^>=2.2
|
||||||
|
, optics >=0.2 && <0.5
|
||||||
|
, optparse-applicative >=0.15.1.0 && <0.17
|
||||||
|
, pretty ^>=1.1.3.1
|
||||||
|
, pretty-terminal ^>=0.1.0.0
|
||||||
|
, regex-posix ^>=0.96
|
||||||
|
, resourcet ^>=1.2.2
|
||||||
|
, safe-exceptions ^>=0.1
|
||||||
|
, string-interpolate >=0.2.0.0 && <0.4
|
||||||
|
, text ^>=1.2.4.0
|
||||||
|
, transformers ^>=0.5
|
||||||
|
, uri-bytestring ^>=0.3.2.2
|
||||||
|
, utf8-string ^>=1.0
|
||||||
|
, versions ^>=4.0.1
|
||||||
|
, yaml ^>=0.11.4.0
|
||||||
|
|
||||||
|
if flag(tar)
|
||||||
|
cpp-options: -DTAR
|
||||||
|
build-depends: tar-bytestring >=0.6.3.1
|
||||||
|
|
||||||
test-suite ghcup-test
|
test-suite ghcup-test
|
||||||
import:
|
type: exitcode-stdio-1.0
|
||||||
config
|
main-is: Main.hs
|
||||||
, base
|
hs-source-dirs: test
|
||||||
, bytestring
|
|
||||||
, containers
|
|
||||||
, QuickCheck
|
|
||||||
, generic-arbitrary
|
|
||||||
, hpath
|
|
||||||
, hspec
|
|
||||||
, hspec-golden-aeson
|
|
||||||
, quickcheck-arbitrary-adt
|
|
||||||
, text
|
|
||||||
, uri-bytestring
|
|
||||||
, versions
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
build-depends: ghcup
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: Main.hs
|
|
||||||
other-modules:
|
other-modules:
|
||||||
GHCup.ArbitraryTypes
|
GHCup.ArbitraryTypes
|
||||||
GHCup.Types.JSONSpec
|
GHCup.Types.JSONSpec
|
||||||
Spec
|
Spec
|
||||||
|
|
||||||
|
default-language: Haskell2010
|
||||||
|
default-extensions:
|
||||||
|
LambdaCase
|
||||||
|
MultiWayIf
|
||||||
|
PackageImports
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
|
TupleSections
|
||||||
|
|
||||||
|
ghc-options:
|
||||||
|
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
|
||||||
|
-fwarn-incomplete-record-updates
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
, base >=4.13 && <5
|
||||||
|
, bytestring ^>=0.10
|
||||||
|
, containers ^>=0.6
|
||||||
|
, generic-arbitrary ^>=0.1.0
|
||||||
|
, ghcup
|
||||||
|
, hpath >=0.11 && <0.13
|
||||||
|
, hspec ^>=2.7.4
|
||||||
|
, hspec-golden-aeson >=0.7 && <0.10
|
||||||
|
, QuickCheck ^>=2.14.1
|
||||||
|
, quickcheck-arbitrary-adt ^>=0.3.1.0
|
||||||
|
, text ^>=1.2.4.0
|
||||||
|
, uri-bytestring ^>=0.3.2.2
|
||||||
|
, versions ^>=4.0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user