packages feed

tdlib-0.1.3: 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: 50a170d1232470269e1a3fb32c1ee38e2e1b8b8be070e885ce94d096ea17abb6

name:               tdlib
version:            0.1.3
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:           Bidings to the tdlib json interface
description:        Please see the README on GitHub at <https://github.com/poscat0x04/tdlib#readme>
category:           FFI
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,
        base >=4.10 && <5,
        base64-bytestring-type,
        bytestring >=0.10.10.0 && <0.11,
        containers,
        monad-loops,
        polysemy,
        polysemy-plugin,
        stm,
        tdlib-types,
        text,
        unagi-chan,
        unordered-containers

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,
        base >=4.10 && <5,
        base64-bytestring-type,
        bytestring >=0.10.10.0 && <0.11,
        containers,
        generic-random,
        hspec,
        monad-loops,
        polysemy,
        polysemy-plugin,
        stm,
        tdlib,
        tdlib-types,
        text,
        unagi-chan,
        unordered-containers