-
Notifications
You must be signed in to change notification settings - Fork 0
/
material-ui.cabal
61 lines (58 loc) · 1.61 KB
/
material-ui.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: material-ui
version: 0.1.0.0
synopsis: Google's Material UI, in the browser, through Haskell
description:
You'd like a demo, eh?
.
> view :: Pure React'
> view = div_ $ do
> slider [ name "slider" ]
> button [ label_ "Primary", primary True ] $ return ()
.
Simple incantation, fantastic results. We've got a slider and a button. They don't do anything yet, of course...
license: MIT
license-file: LICENSE
author: Joel Burget
maintainer: [email protected]
-- copyright:
category: Web
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag ghcjs
description: tell cabal we're using ghcjs
default: True
executable example
if !flag(ghcjs)
buildable: False
main-is: Main.hs
other-extensions: OverloadedStrings, LiberalTypeSynonyms, JavaScriptFFI, LambdaCase
build-depends:
base > 4.5 && < 5,
react-haskell == 1.4.*,
unordered-containers,
material-ui
default-language: Haskell2010
js-sources:
lib/stubs.js
if flag(ghcjs)
build-depends:
ghcjs-base,
ghcjs-dom
ghcjs-options: -DGHCJS_BROWSER
library
exposed-modules: React.MaterialUI
other-modules:
React.MaterialUI.Attrs,
React.MaterialUI.Elements,
React.MaterialUI.Imports
other-extensions: OverloadedStrings, LiberalTypeSynonyms, JavaScriptFFI, LambdaCase, CPP
build-depends:
base > 4.5 && < 5,
react-haskell == 1.4.*,
aeson,
text,
vector,
unordered-containers
hs-source-dirs: src
default-language: Haskell2010