packages feed

ttn-0.2.0.0: ttn.cabal

name:                ttn
version:             0.2.0.0
synopsis:            Things Tracker Network JSON Types
description:         Parse JSONs from TTN MQTT API
homepage:            https://github.com/sorki/data-ttn
license:             BSD3
license-file:        LICENSE
author:              Richard Marko
maintainer:          srk@48.io
copyright:           2018 Richard Marko
category:            Web
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Data.TTN
                     , Data.TTN.Types
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , timerep
                     , bytestring
                     , text
                     , time
  default-language:    Haskell2010

test-suite data-ttn-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       ParseSpec
                       DownlinkSpec
                       SpecHelper
  build-depends:       base >= 4.7 && < 5
                     , ttn
                     , aeson
                     , hspec
                     , hspec-expectations
                     , raw-strings-qq
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/sorki/data-ttn