This repository has been archived by the owner on Jun 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsnap-cors.dhall
73 lines (66 loc) · 2.51 KB
/
snap-cors.dhall
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
let GitHub-project =
https://raw.githubusercontent.com/ocharles/dhall-to-cabal/bc8337b1c2c7363b5cfedbfee2aefd5b1e7e4181/dhall/GitHub-project.dhall
in let licenses =
constructors
https://raw.githubusercontent.com/ocharles/dhall-to-cabal/bc8337b1c2c7363b5cfedbfee2aefd5b1e7e4181/dhall/types/License.dhall
in let languages =
constructors
https://raw.githubusercontent.com/ocharles/dhall-to-cabal/bc8337b1c2c7363b5cfedbfee2aefd5b1e7e4181/dhall/types/Language.dhall
in let library =
let unconditional =
https://raw.githubusercontent.com/ocharles/dhall-to-cabal/bc8337b1c2c7363b5cfedbfee2aefd5b1e7e4181/dhall/unconditional.dhall
in unconditional.library
in let empty-Library =
https://raw.githubusercontent.com/ocharles/dhall-to-cabal/bc8337b1c2c7363b5cfedbfee2aefd5b1e7e4181/dhall/defaults/Library.dhall
in GitHub-project
{ owner = "ocharles", repo = "snap-cors" }
⫽ { version =
v "1.3.0"
, synopsis =
"Add CORS headers to Snap applications"
, description =
''
Add CORS (cross-origin resource sharing) headers to Snap applications. This
enables web applications running on other domains to make requests against
another application.
Since version 1.3 this library simply re-exports @Snap.Util.CORS@.''
, license =
licenses.BSD3 {=}
, license-files =
[ "LICENSE" ]
, author =
"Oliver Charles"
, maintainer =
, copyright =
"Oliver Charles (c) 2013"
, category =
"Web"
, extra-source-files =
[ "Changelog.md" ]
, library =
library
( empty-Library
⫽ { build-depends =
[ { package =
"snap-core"
, bounds =
majorBoundVersion (v "1.0.2")
}
]
, reexported-modules =
[ { name =
"Snap.CORS"
, original =
{ name =
"Snap.Util.CORS"
, package =
[ "snap-core" ] : Optional Text
}
}
]
, default-language =
languages.Haskell2010 {=}
}
)
}