-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
82 lines (75 loc) · 2 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
name: swiss-ephemeris
version: 1.4.2.0
github: "lfborjas/swiss-ephemeris"
license: AGPL-3
author: "Luis Borjas Reyes"
maintainer: "swiss-ephemeris@lfborjas.com"
extra-source-files:
- README.md
- ChangeLog.md
- swedist/sweph_18/*.se1
- swedist/precalc/sep4_244
# Metadata used when publishing your package
synopsis: Haskell bindings for the Swiss Ephemeris C library
category: Data, Astrology
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/lfborjas/swiss-ephemeris#readme>
dependencies:
- base >= 4.10 && < 4.17
- vector >= 0.12 && < 0.13
- time >= 1.9 && < 1.13
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
c-sources:
- csrc/swecl.c
- csrc/swedate.c
- csrc/swehel.c
- csrc/swehouse.c
- csrc/swejpl.c
- csrc/swemmoon.c
- csrc/swemplan.c
- csrc/swepcalc.c
- csrc/swepdate.c
- csrc/sweph.c
- csrc/swephlib.c
- csrc/dgravgroup.c
- csrc/configurable_sweephe4.c
- csrc/interpolate.c
include-dirs: csrc
install-includes:
- csrc/swedate.h
- csrc/swedll.h
- csrc/swehouse.h
- csrc/swejpl.h
- csrc/swemptab.h
- csrc/swenut2000a.h
- csrc/sweodef.h
- csrc/swepcalc.h
- csrc/sweph.h
- csrc/swephexp.h
- csrc/swephlib.h
- csrc/dgravgroup.h
- csrc/configurable_sweephe4.h
- csrc/interpolate.h
tests:
swiss-ephemeris-test:
main: Spec.hs
source-dirs: test
dependencies:
- swiss-ephemeris
- hspec >= 2.7 && < 2.8
- directory >= 1.3 && < 1.4
- QuickCheck >= 2.12 && <= 2.15
- random
build-tools:
- hspec-discover >= 2.7 && < 2.8