forked from iand675/hs-mesos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhs-mesos.cabal
126 lines (120 loc) · 5.45 KB
/
hs-mesos.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: hs-mesos
version: 0.20.0.0
description: Bindings to the Apache Mesos platform.
.
<http://mesos.apache.org/ Apache Mesos> is a cluster manager that simplifies the complexity of running applications on a shared pool of servers.
.
Note that this package currently requires 'libmesos' to be installed on your development system in order to build.
license: MIT
license-file: LICENSE
author: Ian Duncan
maintainer: ian@iankduncan.com
-- copyright:
category: System
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
library
exposed-modules: System.Mesos.Executor,
System.Mesos.Scheduler,
System.Mesos.Resources,
System.Mesos.Types,
System.Mesos.Internal,
System.Mesos.TaskStatus,
System.Mesos.Raw,
System.Mesos.Raw.Attribute,
System.Mesos.Raw.CommandInfo,
System.Mesos.Raw.CommandUri,
System.Mesos.Raw.ContainerId,
System.Mesos.Raw.ContainerInfo,
System.Mesos.Raw.Credential,
System.Mesos.Raw.Environment,
System.Mesos.Raw.EnvironmentVariable,
System.Mesos.Raw.Executor,
System.Mesos.Raw.ExecutorId,
System.Mesos.Raw.ExecutorInfo,
System.Mesos.Raw.Filters,
System.Mesos.Raw.FrameworkId,
System.Mesos.Raw.FrameworkInfo,
System.Mesos.Raw.HealthCheck,
System.Mesos.Raw.MasterInfo,
System.Mesos.Raw.Offer,
System.Mesos.Raw.OfferId,
System.Mesos.Raw.Parameter,
System.Mesos.Raw.Parameters,
System.Mesos.Raw.PerformanceStatistics,
System.Mesos.Raw.Request,
System.Mesos.Raw.Resource,
System.Mesos.Raw.ResourceStatistics,
System.Mesos.Raw.ResourceUsage,
System.Mesos.Raw.Scheduler,
System.Mesos.Raw.SlaveId,
System.Mesos.Raw.SlaveInfo,
System.Mesos.Raw.StdString,
System.Mesos.Raw.TaskId,
System.Mesos.Raw.TaskInfo,
System.Mesos.Raw.TaskStatus,
System.Mesos.Raw.Value,
System.Mesos.Raw.Volume
-- other-extensions:
build-depends: base >=4.7 && < 5, bytestring, lens, managed
hs-source-dirs: src
default-language: Haskell2010
include-dirs: ext, /usr/include, /usr/local/include/mesos
c-sources: ext/executor.cpp,
ext/scheduler.cpp,
ext/types/attribute.cpp,
ext/types/command_info.cpp,
ext/types/command_uri.cpp,
ext/types/container_id.cpp,
ext/types/container_info.cpp,
ext/types/credential.cpp,
ext/types/environment.cpp,
ext/types/environment_variable.cpp,
ext/types/executor_id.cpp,
ext/types/executor_info.cpp,
ext/types/filters.cpp,
ext/types/framework_id.cpp,
ext/types/framework_info.cpp,
ext/types/health_check.cpp,
ext/types/master_info.cpp,
ext/types/offer.cpp,
ext/types/offer_id.cpp,
ext/types/parameter.cpp,
ext/types/parameters.cpp,
ext/types/performance_statistics.cpp,
ext/types/range.cpp,
ext/types/request.cpp,
ext/types/resource.cpp,
ext/types/resource_statistics.cpp,
ext/types/resource_usage.cpp,
ext/types/slave_id.cpp,
ext/types/slave_info.cpp,
ext/types/std_string.cpp,
ext/types/task_id.cpp,
ext/types/task_info.cpp,
ext/types/task_status.cpp,
ext/types/value.cpp,
ext/types/volume.cpp
extra-libraries: mesos stdc++
extra-lib-dirs: /usr/local/lib
cc-options: -fPIC -std=c++11
ghc-options: -fPIC
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base, hs-mesos, QuickCheck, bytestring, lens, managed
default-language: Haskell2010
executable test-executor
main-is: TestExecutor.hs
hs-source-dirs: test
build-depends: base, hs-mesos, bytestring
default-language: Haskell2010
extra-libraries: mesos stdc++
executable test-framework
main-is: TestFramework.hs
hs-source-dirs: test
build-depends: base, hs-mesos, bytestring, lens
default-language: Haskell2010
extra-libraries: mesos stdc++