packages feed

solana-staking-csvs-0.1.2.0: solana-staking-csvs.cabal

cabal-version: 1.12

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

name:           solana-staking-csvs
version:        0.1.2.0
synopsis:       Generate CSV Exports of your Solana Staking Rewards.
description:    @solana-staking-csvs@ is a CLI program that queries the Solana blockchain
                for an account's staking accounts and exports all their staking rewards to
                a CSV file.
                .
                The <https://solanabeach.io/ Solana Beach API> is used to fetch data from
                the blockchain and you will need a
                <https://github.com/solana-beach/api free API key> to use this program.
                .
                You can install @solana-staking-csvs@ with Stack: @stack install --resolver
                nightly solana-staking-csvs@. Then run the following to print out an
                account's rewards in CSV format:
                .
                @
                  solana-staking-csvs \<API_KEY> \<ACCOUNT_PUBKEY>
                @
                .
                See @solana-staking-csvs --help@ for additional options.
category:       Web, Finance, Console
homepage:       https://github.com/prikhi/solana-staking-csvs#readme
bug-reports:    https://github.com/prikhi/solana-staking-csvs/issues
author:         Pavan Rikhi
maintainer:     pavan.rikhi@gmail.com
copyright:      2021 Pavan Rikhi
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/prikhi/solana-staking-csvs

library
  exposed-modules:
      Console.SolanaStaking.Api
      Console.SolanaStaking.CoinTracking
      Console.SolanaStaking.Csv
      Console.SolanaStaking.Main
  other-modules:
      Paths_solana_staking_csvs
  hs-source-dirs:
      src
  default-extensions:
      DataKinds
      DeriveGeneric
      LambdaCase
      OverloadedStrings
      TupleSections
      TypeApplications
      ViewPatterns
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2
  build-depends:
      aeson >=1 && <3
    , base >=4.7 && <5
    , bytestring <1
    , cassava <1
    , cmdargs >=0.10 && <1
    , cointracking-imports <1
    , mtl ==2.*
    , req >=3.4 && <4
    , scientific <1
    , text <2
    , time <2
  default-language: Haskell2010

executable solana-staking-csvs
  main-is: Main.hs
  other-modules:
      Paths_solana_staking_csvs
  hs-source-dirs:
      app
  default-extensions:
      DataKinds
      DeriveGeneric
      LambdaCase
      OverloadedStrings
      TupleSections
      TypeApplications
      ViewPatterns
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts "-N -T"
  build-depends:
      base >=4.7 && <5
    , solana-staking-csvs
  default-language: Haskell2010

test-suite solana-staking-csvs-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_solana_staking_csvs
  hs-source-dirs:
      tests
  default-extensions:
      DataKinds
      DeriveGeneric
      LambdaCase
      OverloadedStrings
      TupleSections
      TypeApplications
      ViewPatterns
  ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts "-N -T"
  build-depends:
      base >=4.7 && <5
    , hedgehog
    , solana-staking-csvs
    , tasty
    , tasty-hedgehog
    , tasty-hunit
  default-language: Haskell2010