ghcup-hs/ghcup.cabal

480 lines
9.0 KiB
Plaintext
Raw Normal View History

2020-03-24 15:49:18 +00:00
cabal-version: 3.0
name: ghcup
2021-02-25 14:33:52 +00:00
version: 0.1.13
2020-03-24 15:49:18 +00:00
synopsis: ghc toolchain installer as an exe/library
description:
A rewrite of the shell script ghcup, for providing
a more stable user experience and exposing an API.
2020-04-14 23:04:58 +00:00
homepage: https://gitlab.haskell.org/haskell/ghcup-hs
bug-reports: https://gitlab.haskell.org/haskell/ghcup-hs/issues
2020-03-24 15:49:18 +00:00
license: LGPL-3.0-only
license-file: LICENSE
author: Julian Ospald
maintainer: hasufell@posteo.de
copyright: Julian Ospald 2020
category: System
build-type: Simple
2020-11-20 22:15:27 +00:00
extra-doc-files: CHANGELOG.md
2020-01-11 20:15:05 +00:00
source-repository head
2020-03-24 15:49:18 +00:00
type: git
2020-04-14 23:04:58 +00:00
location: https://gitlab.haskell.org/haskell/ghcup-hs.git
2020-01-11 20:15:05 +00:00
2020-07-06 20:39:16 +00:00
flag tui
description: Build the brick powered tui (ghcup tui)
default: False
manual: True
flag internal-downloader
description: Compile the internal downloader, which links against OpenSSL
default: False
manual: True
flag tar
description: Use tar-bytestring instead of libarchive
default: False
manual: True
2020-03-24 15:49:18 +00:00
common HsOpenSSL
2020-04-05 08:59:55 +00:00
build-depends: HsOpenSSL >=0.11.4.18
2020-03-24 15:49:18 +00:00
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.12 && <5
2020-04-09 16:27:07 +00:00
common base16-bytestring
build-depends: base16-bytestring >= 0.1.1.6
2020-03-24 15:49:18 +00:00
common binary
build-depends: binary >=0.8.6.0
2020-07-06 20:39:16 +00:00
common brick
build-depends: brick >=0.54
2020-03-24 15:49:18 +00:00
common bytestring
build-depends: bytestring >=0.10
2020-04-05 08:59:55 +00:00
common bz2
build-depends: bz2 >=0.5.0.5
2020-03-24 15:49:18 +00:00
common case-insensitive
build-depends: case-insensitive >=1.2.1.0
common casing
build-depends: casing >=0.1.4.1
2020-03-24 15:49:18 +00:00
common concurrent-output
build-depends: concurrent-output >=1.10.11
common containers
build-depends: containers >=0.6
2020-04-09 16:27:07 +00:00
common cryptohash-sha256
build-depends: cryptohash-sha256 >= 0.11.101.0
2020-09-13 18:46:34 +00:00
common generic-arbitrary
build-depends: generic-arbitrary >=0.1.0
2020-03-24 15:49:18 +00:00
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
2020-03-24 15:49:18 +00:00
common hpath-filepath
build-depends: hpath-filepath >=0.10.3
common hpath-io
build-depends: hpath-io >=0.14.1
2020-03-24 15:49:18 +00:00
common hpath-posix
2020-04-14 22:08:47 +00:00
build-depends: hpath-posix >=0.13.2
2020-03-24 15:49:18 +00:00
common http-io-streams
build-depends: http-io-streams >=0.1.2.0
2020-09-13 18:46:34 +00:00
common hspec
build-depends: hspec >=2.7.4
common hspec-golden-aeson
build-depends: hspec-golden-aeson >=0.7
2020-03-24 15:49:18 +00:00
common io-streams
build-depends: io-streams >=1.5
common libarchive
2020-09-01 14:00:28 +00:00
build-depends: libarchive >= 3.0.0.0
2020-03-24 15:49:18 +00:00
common lzma
build-depends: lzma >=0.0.0.3
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
2020-01-11 20:15:05 +00:00
2020-03-24 15:49:18 +00:00
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
2020-08-06 11:28:20 +00:00
common split
build-depends: split >=0.2.3.4
2020-03-24 15:49:18 +00:00
common streamly
build-depends: streamly >=0.7.1
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
2020-03-24 15:49:18 +00:00
common terminal-progress-bar
build-depends: terminal-progress-bar >=0.4.1
common text
build-depends: text >=1.2.4.0
2020-03-24 15:49:18 +00:00
common time
build-depends: time >=1.9.3
common transformers
build-depends: transformers >=0.5
2020-07-04 21:28:30 +00:00
common os-release
build-depends: os-release >=1.0.0
2020-09-13 18:46:34 +00:00
common QuickCheck
build-depends: QuickCheck >=2.14.1
common quickcheck-arbitrary-adt
build-depends: quickcheck-arbitrary-adt >=0.3.1.0
2020-03-24 15:49:18 +00:00
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
2020-03-24 15:49:18 +00:00
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
2020-10-24 20:55:35 +00:00
build-depends: versions >=4.0.1
2020-03-24 15:49:18 +00:00
2020-07-06 20:39:16 +00:00
common vty
build-depends: vty >=5.28.2
2020-03-24 15:49:18 +00:00
common word8
build-depends: word8 >=0.1.3
2020-08-09 15:39:02 +00:00
common yaml
build-depends: yaml >=0.11.4.0
2020-03-24 15:49:18 +00:00
common zlib
build-depends: zlib >=0.6.2.1
2020-01-11 20:15:05 +00:00
common config
2020-03-24 15:49:18 +00:00
default-language: Haskell2010
ghc-options:
-Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates -threaded
default-extensions:
LambdaCase
MultiWayIf
PackageImports
RecordWildCards
ScopedTypeVariables
TupleSections
2020-01-11 20:15:05 +00:00
library
2020-03-24 15:49:18 +00:00
import:
config
, base
2020-04-09 16:27:07 +00:00
, base16-bytestring
2020-03-24 15:49:18 +00:00
, aeson
, ascii-string
, async
, binary
, bytestring
2020-04-05 08:59:55 +00:00
, bz2
2020-03-24 15:49:18 +00:00
, case-insensitive
, casing
2020-03-24 15:49:18 +00:00
, concurrent-output
, containers
2020-04-09 16:27:07 +00:00
, cryptohash-sha256
2020-03-24 15:49:18 +00:00
, generics-sop
, haskus-utils-types
, haskus-utils-variant
, hpath
, hpath-directory
, hpath-filepath
, hpath-io
, hpath-posix
, lzma
2020-04-25 10:06:41 +00:00
, megaparsec
2020-03-24 15:49:18 +00:00
, monad-logger
, mtl
, optics
, optics-vl
, parsec
, pretty-terminal
, regex-posix
, resourcet
, safe
, safe-exceptions
2020-08-06 11:28:20 +00:00
, split
2020-03-24 15:49:18 +00:00
, streamly
, streamly-posix
, streamly-bytestring
, strict-base
, string-interpolate
, template-haskell
, text
, time
, transformers
2020-07-04 21:28:30 +00:00
, os-release
2020-03-24 15:49:18 +00:00
, unix
, unix-bytestring
, unordered-containers
2020-03-24 15:49:18 +00:00
, uri-bytestring
, utf8-string
, vector
, versions
, vty
2020-03-24 15:49:18 +00:00
, word8
2020-08-09 15:39:02 +00:00
, yaml
2020-03-24 15:49:18 +00:00
, zlib
exposed-modules:
GHCup
GHCup.Download
GHCup.Download.Utils
2020-03-24 15:49:18 +00:00
GHCup.Errors
GHCup.Platform
2020-04-10 15:36:27 +00:00
GHCup.Requirements
2020-03-24 15:49:18 +00:00
GHCup.Types
GHCup.Types.JSON
GHCup.Types.Optics
GHCup.Utils
GHCup.Utils.Dirs
GHCup.Utils.File
GHCup.Utils.Logger
2020-04-25 10:06:41 +00:00
GHCup.Utils.MegaParsec
2020-03-24 15:49:18 +00:00
GHCup.Utils.Prelude
GHCup.Utils.String.QQ
GHCup.Utils.Version.QQ
GHCup.Version
2021-02-25 14:33:52 +00:00
other-modules:
Paths_ghcup
2020-09-13 18:46:34 +00:00
default-extensions:
Strict
StrictData
2020-01-11 20:15:05 +00:00
-- other-extensions:
2020-03-24 15:49:18 +00:00
hs-source-dirs: lib
2020-01-11 20:15:05 +00:00
if flag(internal-downloader)
import:
HsOpenSSL
, http-io-streams
, io-streams
, terminal-progress-bar
exposed-modules: GHCup.Download.IOStreams
cpp-options: -DINTERNAL_DOWNLOADER
if flag(tar)
import:
tar-bytestring
cpp-options: -DTAR
else
import:
libarchive
2020-01-11 20:15:05 +00:00
executable ghcup
2020-03-24 15:49:18 +00:00
import:
config
, base
, aeson
2020-03-24 15:49:18 +00:00
, bytestring
, containers
, haskus-utils-variant
2020-04-05 08:59:55 +00:00
, hpath
, hpath-io
2020-03-24 15:49:18 +00:00
, megaparsec
2020-04-05 08:59:55 +00:00
, monad-logger
2020-03-24 15:49:18 +00:00
, mtl
, optparse-applicative
, pretty-terminal
, resourcet
, safe
, safe-exceptions
2020-03-24 15:49:18 +00:00
, string-interpolate
2020-04-17 14:56:56 +00:00
, template-haskell
2020-04-05 08:59:55 +00:00
, text
2020-03-24 15:49:18 +00:00
, uri-bytestring
, utf8-string
2020-04-05 08:59:55 +00:00
, versions
2020-03-24 15:49:18 +00:00
--
main-is: Main.hs
2020-01-11 20:15:05 +00:00
-- other-modules:
-- other-extensions:
2020-03-24 15:49:18 +00:00
build-depends: ghcup
hs-source-dirs: app/ghcup
default-language: Haskell2010
2020-01-11 20:15:05 +00:00
2020-09-13 18:46:34 +00:00
default-extensions:
Strict
StrictData
2020-04-29 17:12:58 +00:00
if flag(internal-downloader)
cpp-options: -DINTERNAL_DOWNLOADER
2020-07-06 20:39:16 +00:00
if flag(tui)
import:
brick
, vector
, vty
other-modules: BrickMain
cpp-options: -DBRICK
2020-04-29 17:12:58 +00:00
if flag(tar)
cpp-options: -DTAR
else
import:
libarchive
2020-01-11 20:15:05 +00:00
executable ghcup-gen
2020-03-24 15:49:18 +00:00
import:
config
, base
, aeson
, aeson-pretty
, bytestring
, containers
, haskus-utils-variant
2020-04-05 08:59:55 +00:00
, hpath
2020-03-24 15:49:18 +00:00
, monad-logger
, mtl
, optics
, optparse-applicative
, pretty-terminal
2021-01-02 04:05:05 +00:00
, regex-posix
2020-03-24 15:49:18 +00:00
, resourcet
2020-04-05 08:59:55 +00:00
, safe-exceptions
2020-03-24 15:49:18 +00:00
, string-interpolate
2020-04-05 08:59:55 +00:00
, text
2020-03-24 15:49:18 +00:00
, transformers
, uri-bytestring
, utf8-string
2020-04-05 08:59:55 +00:00
, versions
2020-08-09 15:39:02 +00:00
, yaml
2020-03-24 15:49:18 +00:00
--
main-is: Main.hs
2020-04-10 15:36:27 +00:00
other-modules:
Validate
2020-03-24 15:49:18 +00:00
2020-01-11 20:15:05 +00:00
-- other-extensions:
2020-03-24 15:49:18 +00:00
build-depends: ghcup
hs-source-dirs: app/ghcup-gen
default-language: Haskell2010
2020-01-11 20:15:05 +00:00
test-suite ghcup-test
2020-09-13 18:46:34 +00:00
import:
config
, base
, bytestring
, containers
, QuickCheck
, generic-arbitrary
, hpath
, hspec
, hspec-golden-aeson
, quickcheck-arbitrary-adt
, text
, uri-bytestring
, versions
2020-03-24 15:49:18 +00:00
type: exitcode-stdio-1.0
2020-09-13 18:46:34 +00:00
build-depends: ghcup
2020-03-24 15:49:18 +00:00
hs-source-dirs: test
2020-09-13 18:46:34 +00:00
main-is: Main.hs
other-modules:
GHCup.ArbitraryTypes
GHCup.Types.JSONSpec
Spec