packages feed

IPv6DB-0.3.3.4: IPv6DB.cabal

name:                IPv6DB
version:             0.3.3.4
synopsis:            A RESTful microService for IPv6-related data
description:         IPv6DB is a RESTful microservice using Redis as backend
                     to store lists of IPv6 addresses and attach to each of
                     them any valuable data in a schema-free valid JSON value.
                     Each resource can be permanent or TTLed.
homepage:            http://ipv6db.functor.cloud
license:             BSD3
license-file:        LICENSE
author:              Michel Boucey
maintainer:          michel.boucey@gmail.com
copyright:           (c) 2017-2024 - Michel Boucey
category:            network, database
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md
                   , IPv6DB_APIv1.md

Tested-With: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1

Source-Repository head
  Type: git
  Location: https://github.com/MichelBoucey/IPv6DB.git

library
  hs-source-dirs:     src
  exposed-modules:    Network.IPv6DB.Types 
  build-depends:      aeson                >= 0.7 && < 2.3
                    , attoparsec           >= 0.13.1.0 && < 0.15
                    , base                 >= 4.12 && < 5
                    , bytestring           >= 0.10 && < 0.13
                    , IPv6Addr             >= 2.0.5 && < 2.1
                    , hedis                == 0.15.*
                    , http-types           >= 0.9.1 && < 0.13
                    , unordered-containers >= 0.2.7 && < 0.3
                    , mtl                  >= 2.2.1 && < 2.4
                    , text                 >= 1.2.4.0 && < 2.2
                    , vector               >= 0.11.0.0 && < 0.14
  default-language:   Haskell2010

executable ipv6db
  hs-source-dirs:   app
  main-is:          Main.hs
  other-modules:    Options
                  , Queries
                  , Types
  build-depends:    aeson                >= 0.7 && < 2.3
                  , base                 >= 4.12 && < 5
                  , bytestring           >= 0.10 && < 0.13
                  , fast-logger          >= 2.4.8 && < 3.3
                  , IPv6Addr             >= 2.0 && < 2.1
                  , IPv6DB
                  , hedis                == 0.15.*
                  , http-types           >= 0.9.1 && < 0.13
                  , unordered-containers >= 0.2.7 && < 0.3
                  , mtl                  >= 2.2.1 && < 2.4
                  , optparse-applicative >= 0.12.1.0 && < 0.19
                  , text                 >= 1.2.4.0 && < 2.2
                  , vector               >= 0.11.0.0 && < 0.14
                  , wai                  >= 3.2.1 && < 3.3
                  , wai-logger           >= 2.2.7 && < 2.6
                  , warp                 >= 3.3.16 && < 3.5

  default-language:  Haskell2010
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall

test-suite tests
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  main-is:            hspec.hs
  build-depends:      aeson       >= 0.7 && < 2.3
                    , hspec       >= 2.1.10 && < 2.12
                    , base        >= 4.12 && < 5
                    , IPv6DB
                    , vector      >= 0.11.0.0 && < 0.14
                    , http-client == 0.7.*
                    , http-types  >= 0.9.1 && < 0.13
  default-language:   Haskell2010