Skip to content
Snippets Groups Projects
PaymentServer.cabal 1.55 KiB
Newer Older
  • Learn to ignore specific revisions
  • name:                PaymentServer
    version:             0.1.0.0
    
    synopsis:            Coordinate entities for the purchase of PrivateStorage.io vouchers.
    
    -- description:
    
    homepage:            https://github.com/privatestorageio/PaymentServer#readme
    license:             Apache-2.0
    
    license-file:        LICENSE
    
    author:              Jean-Paul Calderone
    maintainer:          support@privatestorage.io
    copyright:           2019 Private Storage.io, LLC.
    
    category:            Web
    build-type:          Simple
    
    cabal-version:       >=1.10
    
    library
      hs-source-dirs:      src
      exposed-modules:     Lib
      build-depends:       base >= 4.7 && < 5
                         , aeson
                         , servant-server
                         , wai
                         , warp
      default-language:    Haskell2010
    
    executable PaymentServer-exe
      hs-source-dirs:      app
      main-is:             Main.hs
      ghc-options:         -threaded -rtsopts -with-rtsopts=-N
      build-depends:       base
                         , PaymentServer
      default-language:    Haskell2010
    
    test-suite PaymentServer-test
      type:                exitcode-stdio-1.0
      hs-source-dirs:      test
      main-is:             Spec.hs
      build-depends:       base
                         , PaymentServer
                         , hspec
                         , hspec-wai
                         , hspec-wai-json
                         , aeson
      ghc-options:         -threaded -rtsopts -with-rtsopts=-N
      default-language:    Haskell2010
    
    source-repository head
      type:     git
    
      location: https://github.com/privatestorageio/PaymentServer