cabal-version: 3.4
name: polysemy-blockfrost
version: 0.1.3.0
synopsis: Polysemy wrapper around the Blockfrost client
description: Polysemy wrapper around the Blockfrost client.
license: Apache-2.0
license-file: LICENSE
author: John Ky
maintainer: newhoggy@gmail.com
copyright: 2024 John Ky
category: Development
build-type: Simple
extra-doc-files: CHANGELOG.md
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/polysemy-blockfrost
common base { build-depends: base >= 4.14 && < 5 }
common blockfrost-api { build-depends: blockfrost-api < 0.11 }
common blockfrost-client { build-depends: blockfrost-client < 0.9 }
common polysemy { build-depends: polysemy < 2 }
common polysemy-log { build-depends: polysemy-log < 0.11 }
common polysemy-plugin { build-depends: polysemy-plugin < 0.5 }
common tasty { build-depends: tasty < 1.6 }
common text { build-depends: text < 3 }
common polysemy-blockfrost { build-depends: polysemy-blockfrost }
common project-config
import: polysemy,
polysemy-plugin,
default-extensions: BlockArguments
DataKinds
FlexibleContexts
FlexibleInstances
LambdaCase
NoImplicitPrelude
OverloadedStrings
TypeApplications
ghc-options: -Wall
-fplugin=Polysemy.Plugin
library
import: base, project-config,
blockfrost-api,
blockfrost-client,
polysemy,
text,
exposed-modules: Polysemy.Blockfrost
Polysemy.Blockfrost.Api
Polysemy.Blockfrost.Client
Polysemy.Blockfrost.Effect.Blockfrost
hs-source-dirs: src
default-language: Haskell2010
test-suite polysemy-blockfrost-test
import: base, project-config,
tasty,
default-language: Haskell2010
type: exitcode-stdio-1.0
build-tool-depends: tasty-discover:tasty-discover
hs-source-dirs: test
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T