-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
102 lines (89 loc) · 2.06 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
name:
cointracking-imports
version:
0.1.0.2
github:
prikhi/cointracking-imports
homepage:
https://github.com/prikhi/cointracking-imports#readme
license:
BSD3
license-file:
LICENSE
author:
Pavan Rikhi
maintainer:
pavan.rikhi@gmail.com
copyright:
2021 Pavan Rikhi
category:
Web, Finance
extra-source-files:
- README.md
- CHANGELOG.md
synopsis:
Generate CSV & XLSX files for importing into CoinTracking.
description: |
@cointracking-imports@ is a library for generating CSV & XLSX files to use
with <https://cointracking.info CoinTracking>'s Import feature. You
construct a list of @CTImportData@, then feed those to our CSV/XLSX
generating functions.
E.g., if you generate a list of your BNB staking rewards, you can use this
library build a CSV file to import those rewards into CoinTracking.
ghc-options:
- -Wall
when:
condition:
impl(ghc >= 8.0)
then:
ghc-options:
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
else:
ghc-options:
- -fwarn-incomplete-record-updates
- -fwarn-incomplete-uni-patterns
default-extensions:
- DeriveGeneric
- ImportQualifiedPost
- LambdaCase
- NamedFieldPuns
- OverloadedStrings
- TupleSections
- TypeApplications
- TypeOperators
- ViewPatterns
dependencies:
- base >= 4.3 && < 5
- base-compat-batteries
- bytestring < 1
- cassava < 1
- filepath >= 1 && < 2
- lens >= 3.0.4 && < 6
- scientific < 1
- text < 3
- time < 2
- xlsx < 2
library:
source-dirs:
src
dependencies:
[]
tests:
cointracking-imports-test:
main: Spec.hs
source-dirs:
tests
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts "-N -T"
dependencies:
- cointracking-imports
- hedgehog
- tasty
- tasty-hedgehog
- tasty-hunit