-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAppleScript.cabal
61 lines (59 loc) · 2.11 KB
/
AppleScript.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
Name: AppleScript
Version: 0.2.0.1
License: BSD3
License-file: LICENSE
Author: Wouter Swierstra <[email protected]>, Reiner Pope <[email protected]>
Maintainer: Reiner Pope <[email protected]>
homepage: https://github.com/reinerp/haskell-AppleScript
bug-reports: https://github.com/reinerp/haskell-AppleScript/issues
Synopsis: Call AppleScript from Haskell, and then call back into Haskell.
Description:
This package enables you to compile and execute AppleScript code from
Haskell, and provides support for this AppleScript code to call back
into Haskell. To get started, see "Foreign.AppleScript.Rich".
Category: Foreign
Extra-source-files: examples/HelloThere.hs
, examples/OpenLocation.hs
, examples/Plain.hs
, examples/Rich.hs
, examples/RuntimeError.hs
, examples/SyntaxError.hs
, cbits/RunScript.h
Build-type: Simple
Cabal-Version: >= 1.6
source-repository head
type: git
location: git://github.com/reinerp/haskell-AppleScript.git
Library {
if os(darwin) {
Buildable: True
Build-Depends: base >= 2 && < 5,
bytestring < 0.10,
data-default < 0.4,
text < 0.12,
haskell-src-meta >= 0.5.0.3 && < 0.6,
text-format < 0.4,
network < 2.4,
conduit < 0.3,
directory < 1.2,
template-haskell == 2.7.*,
mtl == 2.0.*
Exposed-modules:
Foreign.AppleScript
Foreign.AppleScript.Error
Foreign.AppleScript.Plain
Foreign.AppleScript.Rich
Frameworks: Carbon
Extensions: CPP, ForeignFunctionInterface
Include-Dirs: cbits
C-Sources: cbits/RunScript.c
}
else {
Buildable: False
Build-Depends: base >= 2 && < 5
}
if (impl(ghc >= 6.10.3 && < 6.12))
{
cc-options: -msse2
}
}