packages feed

restman-0.7.2.2: restman.cabal

cabal-version:      1.12
name:               restman
version:            0.7.2.2
license:            BSD2
license-file:       LICENSE
copyright:          Zac Slade or Boyd Stephen Smith Jr, 2024
maintainer:         krakrjak@gmail.com, boyd.stephen.smith.jr@gmail.com
author:             Zac Slade
homepage:           https://gitlab.com/krakrjak/restman#readme
bug-reports:        https://gitlab.com/krakrjak/restman/issues
synopsis:           Web request TUI program.
description:
    Please see the README on GitLab at <https://gitlab.com/krakrjak/restman#readme>

category:           Web
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://gitlab.com/krakrjak/restman

library
    exposed-modules:
        HTTP.Client
        Skylighting.Format.Vty
        Lib
        Types
        UI

    hs-source-dirs:   src
    other-modules:    Paths_restman
    default-language: GHC2024
    ghc-options:      -Wall
    build-depends:
        ansi-terminal-types >=1.1.3 && <1.2,
        base >=4.7 && <5,
        binary >=0.8.9.3 && <0.9,
        brick >=2.9 && <2.10,
        bytestring >=0.12.2.0 && <0.13,
        case-insensitive >=1.2.1.0 && <1.3,
        containers >=0.7 && <0.8,
        http-client >=0.7.19 && <0.8,
        http-client-tls >=0.3.6.4 && <0.4,
        http-types >=0.12.4 && <0.13,
        lens >=5.3.6 && <5.4,
        microlens-mtl >=0.2.1.0 && <0.3,
        mime-types >=0.1.2.2 && <0.2,
        mtl >=2.3.1 && <2.4,
        skylighting >=0.14.7 && <0.15,
        text >=2.1.3 && <2.2,
        text-zipper >=0.13 && <0.14,
        unliftio >=0.2.25.1 && <0.3,
        vector >=0.13.2.0 && <0.14,
        vty >=6.4 && <6.5,
        wreq >=0.5.4.4 && <0.6

executable restman
    main-is:          Main.hs
    hs-source-dirs:   app
    other-modules:
        TUI
        Paths_restman

    default-language: GHC2024
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall
    build-depends:
        base >=4.7 && <5,
        brick >=2.9 && <2.10,
        bytestring >=0.12.2.0 && <0.13,
        case-insensitive >=1.2.1.0 && <1.3,
        http-types >=0.12.4 && <0.13,
        microlens >=0.4.14.0 && <0.5,
        optparse-applicative >=0.18.1.0 && <0.19,
        restman,
        text >=2.1.3 && <2.2,
        utf8-string >=1.0.2 && <1.1,
        wreq >=0.5.4.4 && <0.6

test-suite restman-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:
        HTTP.ClientSpec
        LibSpec
        TypesSpec
        UISpec
        Props.HTTPClientProps
        Props.LibProps
        Props.SkylightingProps
        Props.TypesProps
        Paths_restman

    default-language: GHC2024
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall
    build-depends:
        base >=4.7 && <5,
        brick >=2.9 && <2.10,
        bytestring >=0.12.2.0 && <0.13,
        case-insensitive >=1.2.1.0 && <1.3,
        containers >=0.7 && <0.8,
        hedgehog >=1.5 && <1.6,
        http-client >=0.7.19 && <0.8,
        restman,
        skylighting >=0.14.7 && <0.15,
        tasty >=1.5.4 && <1.6,
        tasty-hedgehog >=1.4.0.2 && <1.5,
        tasty-hunit >=0.10.2 && <0.11,
        text >=2.1.3 && <2.2,
        vty >=6.4 && <6.5