forked from naqsha/naqsha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
naqsha.cabal
98 lines (77 loc) · 2.6 KB
/
naqsha.cabal
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
cabal-version: 3.0
name: naqsha
version: 0.4.0.0
synopsis: A library for working with anything map related.
description: Naqsha is a library to work with geospatial data types,
like latitudes and longitudes, mapping projects like openstreetmap,
various map related file formats.
homepage: http://github.com/naqsha/naqsha.git
copyright: (c) 2016 Piyush P Kurur
license: Apache-2.0 OR BSD-3-Clause
license-files: LICENSE-BSD3
LICENSE-APACHE-2.0
author: Piyush P Kurur
maintainer: ppk@cse.iitk.ac.in
category: Geospatial, Naqsha
build-type: Simple
extra-source-files: CHANGELOG.md
, README.md
bug-reports: https://github.com/naqsha/naqsha/issues
source-repository head
type: git
location: https://github.com/naqsha/naqsha.git
----------------------- Common declarations ---------------------------
common defaults
default-language: Haskell2010
ghc-options: -Wall
build-depends: base >= 4.10 && < 4.15
, bytestring >= 0.10 && < 0.11
, groups
, vector >= 0.12 && < 0.13
---------------------- Components --------------------------------------
library prelude
import: defaults
visibility: private
hs-source-dirs: prelude
exposed-modules: Naqsha.Prelude
library geospatial
import: defaults
visibility: public
build-depends: prelude
hs-source-dirs: geospatial
exposed-modules: Naqsha.Geometry
, Naqsha.Geometry.Angle.Internal
, Naqsha.Geometry.GeoHash
, Naqsha.Geometry.LatLon.Internal
, Naqsha.Geometry.Spherical
library
import: defaults
build-depends: geospatial
hs-source-dirs: src
exposed-modules: Naqsha.Version
reexported-modules: Naqsha.Geometry
autogen-modules: Paths_naqsha
other-modules: Paths_naqsha
--------------------------------- Test suits ---------------------------
test-Suite test
import: defaults
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
build-depends:
, HUnit >= 1.2
, QuickCheck >= 2.4
, smallcheck
, hspec
, hspec-smallcheck
, hspec-discover
--
-- This package
--
, geospatial
, prelude
other-modules: Naqsha.Instances
, Naqsha.Geometry.AngleSpec
, Naqsha.Geometry.LatLonSpec
, Naqsha.Geometry.GeoHashSpec
build-tool-depends: hspec-discover:hspec-discover