Skip to content
Snippets Groups Projects
PaymentServer.cabal 2.83 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:     PaymentServer.Processors.Stripe
    
                         , PaymentServer.Ristretto
    
                         , PaymentServer.Issuer
    
                         , PaymentServer.Persistence
    
                         , PaymentServer.Redemption
    
    Jean-Paul Calderone's avatar
    Jean-Paul Calderone committed
                         , PaymentServer.Main
    
      build-depends:       base >= 4.7 && < 5
    
                         , utf8-string
    
                         , servant-server
    
                         , http-types
    
                         , wai-extra
    
                         , data-default
    
                         , warp-tls
    
      default-language:    Haskell2010
    
      ghc-options:       -Wmissing-import-lists -Wunused-imports
    
      pkgconfig-depends: libchallenge_bypass_ristretto_ffi
    
    
    executable PaymentServer-exe
      hs-source-dirs:      app
      main-is:             Main.hs
    
      ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wmissing-import-lists -Wunused-imports
    
      build-depends:       base
                         , PaymentServer
      default-language:    Haskell2010
    
    
    executable PaymentServer-generate-key
      hs-source-dirs:      generate-key
      main-is:             Main.hs
      ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wmissing-import-lists -Wunused-imports
      build-depends:       base
    
                         , PaymentServer
      default-language:    Haskell2010
    
    
    test-suite PaymentServer-tests
    
      type:                exitcode-stdio-1.0
      hs-source-dirs:      test
      main-is:             Spec.hs
      other-modules:       Persistence
      build-depends:       base
                         , text
                         , tasty
                         , tasty-hunit
                         , directory
    
                         , PaymentServer
      default-language: Haskell2010
    
    source-repository head
      type:     git
    
      location: https://github.com/privatestorageio/PaymentServer