packages feed

credential-store-0.1.2: credential-store.cabal

name:                credential-store
version:             0.1.2
synopsis:            Library to access secure credential storage providers
description:
  Cross-platform library for storing secrets.
  .
  Uses Windows credential store, gnome-keyring or kwallet as backends.
homepage:            https://github.com/rblaze/credential-store#readme
license:             Apache-2.0
license-file:        LICENSE
author:              Andrey Sverdlichenko
maintainer:          blaze@ruddy.ru
copyright:           2017 Andrey Sverdlichenko
category:            Desktop
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     System.CredentialStore
  build-depends:       base >= 4.7 && < 5
                     , bytestring
                     , containers
                     , cryptonite >= 0.7
                     , memory
                     , safe-exceptions
  if os(windows)
    cpp-options:       -DWINBUILD
    build-depends:     Win32 >= 2.5.0.0
    other-modules:     System.CredentialStore.WinTypes
                       System.CredentialStore.Windows
  else
    build-depends:     dbus
    other-modules:     System.CredentialStore.DBusSecretService
  default-language:    Haskell2010
  ghc-options:         -W -Wall

executable credential-store-exe
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -W -Wall
  build-depends:       base
                     , bytestring
                     , credential-store
  default-language:    Haskell2010

test-suite credential-store-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bytestring
                     , credential-store
                     , tasty
                     , tasty-hunit
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -W -Wall
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/rblaze/credential-store