pantry-0.9.0: pantry.cabal
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
name: pantry
version: 0.9.0
synopsis: Content addressable Haskell package management
description: Please see the README on GitHub at <https://github.com/commercialhaskell/pantry#readme>
category: Development
homepage: https://github.com/commercialhaskell/pantry#readme
bug-reports: https://github.com/commercialhaskell/pantry/issues
author: Michael Snoyman
maintainer: michael@snoyman.com
copyright: 2018-2022 FP Complete
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
attic/hpack-0.1.2.3.tar.gz
attic/package-0.1.2.3.tar.gz
attic/symlink-to-dir.tar.gz
source-repository head
type: git
location: https://github.com/commercialhaskell/pantry
flag test-pretty-exceptions
description: Build an executable to test pretty exceptions
manual: False
default: False
library
exposed-modules:
Pantry
Pantry.Internal.Stackage
other-modules:
Hackage.Security.Client.Repository.HttpLib.HttpClient
Pantry.Archive
Pantry.HTTP
Pantry.Hackage
Pantry.Repo
Pantry.Storage
Pantry.Casa
Pantry.Tree
reexported-modules:
Pantry.SHA256
hs-source-dirs:
src/
ghc-options: -Wall
build-depends:
Cabal >=3 && <3.11
, aeson
, aeson-warning-parser
, ansi-terminal
, base >=4.10 && <5
, bytestring
, casa-client
, casa-types
, companion
, conduit
, conduit-extra
, containers
, cryptonite
, cryptonite-conduit
, digest
, filelock
, generic-deriving
, hackage-security
, hpack >=0.35.1
, http-client
, http-client-tls
, http-conduit
, http-download
, http-types
, internal
, memory
, mtl
, network-uri
, path
, path-io
, persistent
, persistent-sqlite >=2.9.3
, persistent-template
, primitive
, resourcet
, rio
, rio-orphans
, rio-prettyprint
, static-bytes
, tar-conduit
, text
, text-metrics
, time
, transformers
, unix-compat
, unliftio
, unordered-containers
, vector
, yaml
, zip-archive
default-language: Haskell2010
if impl(ghc >= 9.4.5) && os(windows)
build-depends:
network >=3.1.2.9
if os(windows)
other-modules:
System.IsWindows
hs-source-dirs:
src/windows/
else
other-modules:
System.IsWindows
hs-source-dirs:
src/unix/
library internal
exposed-modules:
Pantry.HPack
Pantry.Internal
Pantry.SHA256
Pantry.SQLite
Pantry.Types
other-modules:
Paths_pantry
autogen-modules:
Paths_pantry
hs-source-dirs:
int/
ghc-options: -Wall
build-depends:
Cabal >=3 && <3.11
, aeson
, aeson-warning-parser
, ansi-terminal
, base >=4.10 && <5
, bytestring
, casa-client
, casa-types
, companion
, conduit
, conduit-extra
, containers
, cryptonite
, cryptonite-conduit
, digest
, filelock
, generic-deriving
, hackage-security
, hpack >=0.35.1
, http-client
, http-client-tls
, http-conduit
, http-download
, http-types
, memory
, mtl
, network-uri
, path
, path-io
, persistent
, persistent-sqlite >=2.9.3
, persistent-template
, primitive
, resourcet
, rio
, rio-orphans
, rio-prettyprint
, static-bytes
, tar-conduit
, text
, text-metrics
, time
, transformers
, unix-compat
, unliftio
, unordered-containers
, vector
, yaml
, zip-archive
default-language: Haskell2010
if impl(ghc >= 9.4.5) && os(windows)
build-depends:
network >=3.1.2.9
executable test-pretty-exceptions
main-is: Main.hs
other-modules:
Paths_pantry
autogen-modules:
Paths_pantry
hs-source-dirs:
app/test-pretty-exceptions
ghc-options: -Wall
build-depends:
Cabal >=3 && <3.11
, aeson
, aeson-warning-parser
, ansi-terminal
, base >=4.10 && <5
, bytestring
, casa-client
, casa-types
, companion
, conduit
, conduit-extra
, containers
, cryptonite
, cryptonite-conduit
, digest
, filelock
, generic-deriving
, hackage-security
, hpack >=0.35.1
, http-client
, http-client-tls
, http-conduit
, http-download
, http-types
, memory
, mtl
, network-uri
, optparse-applicative
, pantry
, path
, path-io
, persistent
, persistent-sqlite >=2.9.3
, persistent-template
, primitive
, resourcet
, rio
, rio-orphans
, rio-prettyprint
, static-bytes
, tar-conduit
, text
, text-metrics
, time
, transformers
, unix-compat
, unliftio
, unordered-containers
, vector
, yaml
, zip-archive
default-language: Haskell2010
if impl(ghc >= 9.4.5) && os(windows)
build-depends:
network >=3.1.2.9
if !flag(test-pretty-exceptions)
buildable: False
if os(windows)
other-modules:
PathAbsExamples
System.Terminal
hs-source-dirs:
app/test-pretty-exceptions/windows/
build-depends:
Win32
, process
else
other-modules:
PathAbsExamples
System.Terminal
hs-source-dirs:
app/test-pretty-exceptions/unix/
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Pantry.ArchiveSpec
Pantry.BuildPlanSpec
Pantry.CabalSpec
Pantry.CasaSpec
Pantry.FileSpec
Pantry.GlobalHintsSpec
Pantry.HackageSpec
Pantry.InternalSpec
Pantry.TreeSpec
Pantry.TypesSpec
Paths_pantry
autogen-modules:
Paths_pantry
hs-source-dirs:
test
ghc-options: -Wall
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
Cabal >=3 && <3.11
, QuickCheck
, aeson
, aeson-warning-parser
, ansi-terminal
, base >=4.10 && <5
, bytestring
, casa-client
, casa-types
, companion
, conduit
, conduit-extra
, containers
, cryptonite
, cryptonite-conduit
, digest
, exceptions
, filelock
, generic-deriving
, hackage-security
, hedgehog
, hpack >=0.35.1
, hspec
, http-client
, http-client-tls
, http-conduit
, http-download
, http-types
, internal
, memory
, mtl
, network-uri
, pantry
, path
, path-io
, persistent
, persistent-sqlite >=2.9.3
, persistent-template
, primitive
, raw-strings-qq
, resourcet
, rio
, rio-orphans
, rio-prettyprint
, static-bytes
, tar-conduit
, text
, text-metrics
, time
, transformers
, unix-compat
, unliftio
, unordered-containers
, vector
, yaml
, zip-archive
default-language: Haskell2010
if impl(ghc >= 9.4.5) && os(windows)
build-depends:
network >=3.1.2.9