packages feed

tdlib-0.3.0: tdlib.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: dc1c28d2cc8a143c24b58b160748acf69dc1481af8d4b7ddfccaf23b3a796c14

name:               tdlib
version:            0.3.0
license:            BSD3
license-file:       LICENSE
copyright:          (c) 2020 Poscat
maintainer:         poscat@mail.poscat.moe
author:             Poscat
homepage:           https://github.com/poscat0x04/tdlib#readme
bug-reports:        https://github.com/poscat0x04/tdlib/issues
synopsis:           complete binding to the Telegram Database Library
description:        Please see the README on GitHub at <https://github.com/poscat0x04/tdlib#readme>
category:           Web
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
    type: git
    location: https://github.com/poscat0x04/tdlib

library
    exposed-modules:
        TDLib.Errors
        TDLib.EventLoop
        TDLib.TDJson
    hs-source-dirs:
        src
    other-modules:
        Paths_tdlib
    default-language: Haskell2010
    default-extensions: OverloadedStrings FlexibleInstances FlexibleContexts FunctionalDependencies InstanceSigs ConstraintKinds DeriveGeneric DeriveFunctor DeriveFoldable DeriveTraversable TypeOperators TypeApplications TypeFamilies KindSignatures PartialTypeSignatures DataKinds StarIsType ScopedTypeVariables ExplicitForAll ViewPatterns BangPatterns LambdaCase TupleSections EmptyCase MultiWayIf UnicodeSyntax PatternSynonyms RecordWildCards
    extra-libraries:
        tdjson
    ghc-options: -fplugin=Polysemy.Plugin -flate-specialise -fspecialise-aggressively
    build-depends:
        aeson >=1.4.7 && <1.6,
        base >=4.10 && <5,
        bytestring,
        containers >=0.6.2.1 && <0.7,
        monad-loops,
        polysemy >=1.3.0.0 && <1.4,
        polysemy-plugin >=0.2.5.0 && <0.3,
        stm >=2.5.0.0 && <2.6,
        tdlib-types >=0.3.0 && <0.4,
        text,
        unordered-containers >=0.2.10.0 && <0.3

test-suite tdlib-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    hs-source-dirs:
        test
    other-modules:
        Paths_tdlib
    default-language: Haskell2010
    default-extensions: OverloadedStrings FlexibleInstances FlexibleContexts FunctionalDependencies InstanceSigs ConstraintKinds DeriveGeneric DeriveFunctor DeriveFoldable DeriveTraversable TypeOperators TypeApplications TypeFamilies KindSignatures PartialTypeSignatures DataKinds StarIsType ScopedTypeVariables ExplicitForAll ViewPatterns BangPatterns LambdaCase TupleSections EmptyCase MultiWayIf UnicodeSyntax PatternSynonyms RecordWildCards
    extra-libraries:
        tdjson
    ghc-options: -fplugin=Polysemy.Plugin -flate-specialise -fspecialise-aggressively -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        QuickCheck,
        aeson >=1.4.7 && <1.6,
        base >=4.10 && <5,
        base64-bytestring-type,
        bytestring,
        containers >=0.6.2.1 && <0.7,
        monad-loops,
        polysemy >=1.3.0.0 && <1.4,
        polysemy-plugin >=0.2.5.0 && <0.3,
        quickcheck-text,
        stm >=2.5.0.0 && <2.6,
        tdlib,
        tdlib-types >=0.3.0 && <0.4,
        text,
        unordered-containers >=0.2.10.0 && <0.3