packages feed

macaroon-shop-0.1.0.1: macaroon-shop.cabal

cabal-version:      2.4
name:               macaroon-shop
version:            0.1.0.1
synopsis:           A toolkit for working with macaroons
license:            BSD-3-Clause
license-file:       LICENSE
author:             Ian Shipman
maintainer:         ics@gambolingpangolin.com
homepage:           https://github.com/GambolingPangolin/macaroon-shop
extra-source-files: CHANGELOG.md

common core
    default-language: GHC2021

    ghc-options:
        -Wall

    build-depends:
          base >=4.12 && <5
        , bytestring >=0.10 && <0.13
        , bytes ^>=0.17
        , cereal ^>=0.5
        , containers >=0.6 && <0.8
        , crypton >=1.0 && <1.1
        , memory >=0.14 && <0.19
        , saltine ^>=0.2
        , transformers >=0.5 && <0.7

library
    import:           core
    hs-source-dirs:   src/

    other-modules:
        Authorize.Macaroon.Crypto
        Authorize.Macaroon.Serialize
        Authorize.Macaroon.Types
        Authorize.Macaroon.Verify

    exposed-modules:
        Authorize.Macaroon

test-suite macaroon-shop-tests
    import:  core
    type:    exitcode-stdio-1.0
    main-is: Main.hs

    hs-source-dirs:
        test/

    ghc-options:
        -threaded

    other-modules:
        Authorize.Macaroon.Gen

    build-depends:
          hedgehog >=1.0 && <1.6
        , macaroon-shop