packages feed

cardano-coin-selection-1.0.0: cardano-coin-selection.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: fa91aa04303b2016d424d05014b688d5845de29176adad56b44a698e849d080a

name:           cardano-coin-selection
version:        1.0.0
synopsis:       Algorithms for coin selection and fee balancing.
description:    Please see the README on GitHub at <https://github.com/input-output-hk/cardano-coin-selection>
category:       Cardano
homepage:       https://github.com/input-output-hk/cardano-coin-selection#readme
bug-reports:    https://github.com/input-output-hk/cardano-coin-selection/issues
author:         IOHK
maintainer:     operations@iohk.io
copyright:      2020 IOHK
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/input-output-hk/cardano-coin-selection

flag release
  description: Compile executables for a release.
  manual: True
  default: False

library
  exposed-modules:
      Cardano.CoinSelection
      Cardano.CoinSelection.Algorithm
      Cardano.CoinSelection.Algorithm.LargestFirst
      Cardano.CoinSelection.Algorithm.Migration
      Cardano.CoinSelection.Algorithm.RandomImprove
      Cardano.CoinSelection.Fee
      Internal
      Internal.Coin
      Internal.Invariant
      Internal.Rounding
  other-modules:
      Paths_cardano_coin_selection
  hs-source-dirs:
      src/library
      src/internal
  default-extensions: NoImplicitPrelude
  ghc-options: -Wall -Wcompat -fwarn-redundant-constraints
  build-depends:
      base >=4.7 && <5
    , bytestring
    , containers
    , cryptonite
    , deepseq
    , quiet
    , text
    , transformers
  if flag(release)
    ghc-options: -Werror
  default-language: Haskell2010

test-suite unit
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Cardano.CoinSelection.Algorithm.LargestFirstSpec
      Cardano.CoinSelection.Algorithm.MigrationSpec
      Cardano.CoinSelection.Algorithm.RandomImproveSpec
      Cardano.CoinSelection.FeeSpec
      Cardano.CoinSelection.TypesSpec
      Cardano.CoinSelectionSpec
      Cardano.Test.Utilities
      Internal.CoinSpec
      Test.Vector.Shuffle
      Test.Vector.ShuffleSpec
      Paths_cardano_coin_selection
  hs-source-dirs:
      src/test
  default-extensions: NoImplicitPrelude
  ghc-options: -Wall -Wcompat -fwarn-redundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , base >=4.7 && <5
    , bytestring
    , cardano-coin-selection
    , containers
    , cryptonite
    , deepseq
    , fmt
    , hspec
    , memory
    , quiet
    , random
    , text
    , transformers
    , vector
  if flag(release)
    ghc-options: -Werror
  default-language: Haskell2010