packages feed

tdlib-0.1.5: tdlib.cabal

cabal-version: 1.12

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

name:               tdlib
version:            0.1.5
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 >=1.6.2.1 && <1.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.1.0 && <0.2,
        text,
        unagi-chan >=0.2.5.0 && <0.3,
        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 >=2.14 && <2.15,
        aeson >=1.4.7 && <1.6,
        base >=4.10 && <5,
        base64-bytestring-type >=1.0.1 && <1.1,
        bytestring,
        containers >=1.6.2.1 && <1.7,
        monad-loops,
        polysemy >=1.3.0.0 && <1.4,
        polysemy-plugin >=0.2.5.0 && <0.3,
        quickcheck-text >=0.1.2.1 && <0.2,
        stm >=2.5.0.0 && <2.6,
        tdlib,
        tdlib-types >=0.1.0 && <0.2,
        text,
        unagi-chan >=0.2.5.0 && <0.3,
        unordered-containers >=0.2.10.0 && <0.3