on 76ec3fe help sign in
Idris-dev/idris.cabal
940 lines 35 kB history raw
1Name: idris
2Version: 0.9.17.1
3License: BSD3
4License-file: LICENSE
5Author: Edwin Brady
6Maintainer: Edwin Brady <eb@cs.st-andrews.ac.uk>
7Homepage: http://www.idris-lang.org/
9Stability: Beta
10Category: Compilers/Interpreters, Dependent Types
11Synopsis: Functional Programming Language with Dependent Types
12Description: Idris is a general purpose language with full dependent types.
13 It is compiled, with eager evaluation.
14 Dependent types allow types to be predicated on values,
15 meaning that some aspects of a program's behaviour can be
16 specified precisely in the type. The language is closely
17 related to Epigram and Agda. There is a tutorial at
18 <http://www.idris-lang.org/documentation>.
19 Features include:
20 .
21 * Full dependent types with dependent pattern matching
22 .
23 * where clauses, with rule, simple case expressions,
24 pattern matching let and lambda bindings
25 .
26 * Type classes, monad comprehensions
27 .
28 * do notation, idiom brackets, syntactic conveniences for lists,
29 tuples, dependent pairs
30 .
31 * Totality checking
32 .
33 * Coinductive types
34 .
35 * Indentation significant syntax, extensible syntax
36 .
37 * Tactic based theorem proving (influenced by Coq)
38 .
39 * Cumulative universes
40 .
41 * Simple foreign function interface (to C)
42 .
43 * Hugs style interactive environment
45Cabal-Version: >= 1.8
47Build-type: Custom
49Data-files: idrisdoc/styles.css
50 jsrts/Runtime-browser.js
51 jsrts/Runtime-common.js
52 jsrts/Runtime-node.js
53 jsrts/jsbn/jsbn.js
54 jsrts/jsbn/LICENSE
55 rts/arduino/idris_main.c
56 rts/idris_bitstring.c
57 rts/idris_bitstring.h
58 rts/idris_gc.c
59 rts/idris_gc.h
60 rts/idris_gmp.c
61 rts/idris_gmp.h
62 rts/idris_heap.c
63 rts/idris_heap.h
64 rts/idris_main.c
65 rts/idris_net.c
66 rts/idris_net.h
67 rts/idris_opts.c
68 rts/idris_opts.h
69 rts/idris_rts.c
70 rts/idris_rts.h
71 rts/idris_stats.c
72 rts/idris_stats.h
73 rts/idris_stdfgn.c
74 rts/idris_stdfgn.h
75 rts/mini-gmp.c
76 rts/mini-gmp.h
77 rts/libtest.c
79Extra-source-files:
80 Makefile
81 config.mk
83 rts/*.c
84 rts/*.h
85 rts/arduino/*.c
86 rts/windows/*.c
87 rts/Makefile
89 libs/Makefile
91 libs/prelude/prelude.ipkg
92 libs/prelude/Prelude/*.idr
93 libs/prelude/Decidable/*.idr
94 libs/prelude/Language/*.idr
95 libs/prelude/Language/Reflection/*.idr
96 libs/prelude/Makefile
97 libs/prelude/*.idr
99 libs/base/base.ipkg
100 libs/base/*.idr
101 libs/base/Control/*.idr
102 libs/base/Control/Monad/*.idr
103 libs/base/Data/*.idr
104 libs/base/Data/Vect/*.idr
105 libs/base/Debug/*.idr
106 libs/base/Language/Reflection/*.idr
107 libs/base/Makefile
108 libs/base/System/*.idr
109 libs/base/System/Concurrency/*.idr
110 libs/base/Syntax/*.idr
112 libs/contrib/contrib.ipkg
113 libs/contrib/Makefile
114 libs/contrib/Classes/*.idr
115 libs/contrib/Control/*.idr
116 libs/contrib/Control/Isomorphism/*.idr
117 libs/contrib/Data/*.idr
118 libs/contrib/Decidable/*.idr
119 libs/contrib/Network/*.idr
120 libs/contrib/System/Concurrency/*.idr
122 libs/effects/Makefile
123 libs/effects/effects.ipkg
124 libs/effects/Effect/*.idr
125 libs/effects/*.idr
127 test/Makefile
128 test/runtest.pl
129 test/reg001/run
130 test/reg001/*.idr
131 test/reg001/expected
132 test/reg002/run
133 test/reg002/*.idr
134 test/reg002/expected
135 test/reg003/run
136 test/reg003/*.idr
137 test/reg003/expected
138 test/reg004/run
139 test/reg004/*.idr
140 test/reg004/expected
141 test/reg005/run
142 test/reg005/*.idr
143 test/reg005/expected
144 test/reg006/run
145 test/reg006/*.idr
146 test/reg006/expected
147 test/reg007/run
148 test/reg007/*.lidr
149 test/reg007/expected
150 test/reg009/run
151 test/reg009/*.lidr
152 test/reg009/expected
153 test/reg010/run
154 test/reg010/*.idr
155 test/reg010/expected
156 test/reg011/run
157 test/reg011/*.idr
158 test/reg011/expected
159 test/reg012/run
160 test/reg012/*.lidr
161 test/reg012/expected
162 test/reg013/run
163 test/reg013/*.idr
164 test/reg013/expected
165 test/reg014/run
166 test/reg014/*.idr
167 test/reg014/expected
168 test/reg015/run
169 test/reg015/*.idr
170 test/reg015/expected
171 test/reg016/run
172 test/reg016/*.idr
173 test/reg016/expected
174 test/reg017/run
175 test/reg017/*.idr
176 test/reg017/expected
177 test/reg018/run
178 test/reg018/*.idr
179 test/reg018/expected
180 test/reg019/run
181 test/reg019/*.idr
182 test/reg019/expected
183 test/reg020/run
184 test/reg020/*.idr
185 test/reg020/expected
186 test/reg021/run
187 test/reg021/*.idr
188 test/reg021/expected
189 test/reg022/run
190 test/reg022/*.idr
191 test/reg022/expected
192 test/reg023/run
193 test/reg023/*.idr
194 test/reg023/expected
195 test/reg024/run
196 test/reg024/*.idr
197 test/reg024/expected
198 test/reg025/run
199 test/reg025/*.idr
200 test/reg025/expected
201 test/reg026/run
202 test/reg026/*.idr
203 test/reg026/expected
204 test/reg027/run
205 test/reg027/*.idr
206 test/reg027/expected
207 test/reg028/run
208 test/reg028/*.idr
209 test/reg028/expected
210 test/reg029/run
211 test/reg029/*.idr
212 test/reg029/expected
213 test/reg030/run
214 test/reg030/*.idr
215 test/reg030/expected
216 test/reg031/run
217 test/reg031/*.idr
218 test/reg031/expected
219 test/reg032/run
220 test/reg032/*.idr
221 test/reg032/expected
222 test/reg033/run
223 test/reg033/*.idr
224 test/reg033/expected
225 test/reg034/run
226 test/reg034/*.idr
227 test/reg034/expected
228 test/reg035/run
229 test/reg035/*.idr
230 test/reg035/*.lidr
231 test/reg035/expected
232 test/reg036/run
233 test/reg036/*.idr
234 test/reg036/expected
235 test/reg037/run
236 test/reg037/*.idr
237 test/reg037/expected
238 test/reg038/run
239 test/reg038/*.idr
240 test/reg038/expected
241 test/reg039/run
242 test/reg039/*.idr
243 test/reg039/expected
244 test/reg040/run
245 test/reg040/*.idr
246 test/reg040/expected
247 test/reg041/run
248 test/reg041/*.idr
249 test/reg041/expected
250 test/reg042/run
251 test/reg042/*.idr
252 test/reg042/expected
253 test/reg044/run
254 test/reg044/*.idr
255 test/reg044/expected
256 test/reg045/run
257 test/reg045/*.idr
258 test/reg045/expected
259 test/reg046/run
260 test/reg046/*.idr
261 test/reg046/expected
262 test/reg047/run
263 test/reg047/*.idr
264 test/reg047/expected
265 test/reg048/run
266 test/reg048/*.idr
267 test/reg048/expected
268 test/reg049/run
269 test/reg049/*.idr
270 test/reg049/expected
271 test/reg050/run
272 test/reg050/*.idr
273 test/reg050/expected
274 test/reg051-disabled/run
275 test/reg051-disabled/*.idr
276 test/reg051-disabled/expected
277 test/reg052/run
278 test/reg052/*.idr
279 test/reg052/expected
280 test/reg053/run
281 test/reg053/*.idr
282 test/reg053/expected
283 test/reg054/run
284 test/reg054/*.idr
285 test/reg054/expected
286 test/reg055/run
287 test/reg055/*.idr
288 test/reg055/expected
289 test/reg056/run
290 test/reg056/*.idr
291 test/reg056/expected
292 test/reg057/run
293 test/reg057/*.idr
294 test/reg057/expected
295 test/reg058/run
296 test/reg058/*.idr
297 test/reg058/expected
298 test/reg059/run
299 test/reg059/*.idr
300 test/reg059/expected
301 test/reg060/run
302 test/reg060/*.idr
303 test/reg060/expected
304 test/reg061/run
305 test/reg061/*.idr
306 test/reg061/expected
308 test/basic001/run
309 test/basic001/*.idr
310 test/basic001/expected
311 test/basic002/run
312 test/basic002/*.idr
313 test/basic002/expected
314 test/basic003/run
315 test/basic003/*.idr
316 test/basic003/expected
317 test/basic004/run
318 test/basic004/*.idr
319 test/basic004/expected
320 test/basic005/run
321 test/basic005/*.lidr
322 test/basic005/expected
323 test/basic006/run
324 test/basic006/*.idr
325 test/basic006/expected
326 test/basic007/run
327 test/basic007/*.idr
328 test/basic007/expected
329 test/basic008/run
330 test/basic008/*.idr
331 test/basic008/expected
332 test/basic009/run
333 test/basic009/*.idr
334 test/basic009/expected
335 test/basic009/B/*.idr
336 test/basic010/run
337 test/basic010/*.idr
338 test/basic010/expected
339 test/basic011/run
340 test/basic011/*.idr
341 test/basic011/expected
342 test/basic012/run
343 test/basic012/*.idr
344 test/basic012/expected
345 test/basic013/run
346 test/basic013/*.idr
347 test/basic013/expected
349 test/delab001/*.idr
350 test/delab001/run
351 test/delab001/expected
352 test/delab001/input
354 test/dsl001/run
355 test/dsl001/*.idr
356 test/dsl001/expected
357 test/dsl002/run
358 test/dsl002/test
359 test/dsl002/*.idr
360 test/dsl002/expected
361 test/dsl003/run
362 test/dsl003/*.idr
363 test/dsl003/expected
365 test/effects001/run
366 test/effects001/*.idr
367 test/effects001/expected
368 test/effects001/testFile
369 test/effects002/run
370 test/effects002/*.idr
371 test/effects002/expected
372 test/effects003/run
373 test/effects003/*.idr
374 test/effects003/expected
375 test/effects003/input
377 test/error001/run
378 test/error001/*.idr
379 test/error001/expected
380 test/error002/run
381 test/error002/*.idr
382 test/error002/expected
383 test/error003/run
384 test/error003/*.idr
385 test/error003/expected
386 test/error004/run
387 test/error004/*.idr
388 test/error004/expected
389 test/error005/run
390 test/error005/*.idr
391 test/error005/expected
393 test/ffi001/run
394 test/ffi001/*.idr
395 test/ffi001/expected
396 test/ffi002/run
397 test/ffi002/*.idr
398 test/ffi002/expected
399 test/ffi003/run
400 test/ffi003/*.idr
401 test/ffi003/expected
402 test/ffi003/input
403 test/ffi004/run
404 test/ffi004/*.idr
405 test/ffi004/theType
406 test/ffi004/theOtherType
407 test/ffi004/expected
408 test/ffi005/*.idr
409 test/ffi005/run
410 test/ffi005/expected
411 test/ffi006/*.idr
412 test/ffi006/*.c
413 test/ffi006/run
414 test/ffi006/expected
416 test/idrisdoc001/run
417 test/idrisdoc001/expected
418 test/idrisdoc001/*.idr
419 test/idrisdoc001/*.ipkg
420 test/idrisdoc002/run
421 test/idrisdoc002/expected
422 test/idrisdoc002/*.idr
423 test/idrisdoc002/*.ipkg
424 test/idrisdoc003/run
425 test/idrisdoc003/expected
426 test/idrisdoc003/*.idr
427 test/idrisdoc003/*.ipkg
428 test/idrisdoc004/run
429 test/idrisdoc004/expected
430 test/idrisdoc004/*.idr
431 test/idrisdoc004/*.ipkg
432 test/idrisdoc005/run
433 test/idrisdoc005/expected
434 test/idrisdoc005/*.idr
435 test/idrisdoc005/*.ipkg
436 test/idrisdoc006/run
437 test/idrisdoc006/expected
438 test/idrisdoc006/A/fully/Qualified/NAME.idr
439 test/idrisdoc006/*.idr
440 test/idrisdoc006/*.ipkg
441 test/idrisdoc007/run
442 test/idrisdoc007/expected
443 test/idrisdoc007/*.idr
444 test/idrisdoc007/*.ipkg
445 test/idrisdoc008/run
446 test/idrisdoc008/expected
447 test/idrisdoc008/*.idr
448 test/idrisdoc008/*.ipkg
449 test/idrisdoc009/run
450 test/idrisdoc009/expected
451 test/idrisdoc009/input
452 test/idrisdoc009/*.idr
455 test/interactive001/run
456 test/interactive001/input
457 test/interactive001/*.idr
458 test/interactive001/expected
459 test/interactive002/run
460 test/interactive002/input
461 test/interactive002/*.idr
462 test/interactive002/expected
463 test/interactive003/run
464 test/interactive003/input
465 test/interactive003/*.idr
466 test/interactive003/expected
467 test/interactive004/run
468 test/interactive004/input
469 test/interactive004/*.idr
470 test/interactive004/expected
471 test/interactive005/run
472 test/interactive005/input
473 test/interactive005/*.idr
474 test/interactive005/expected
475 test/interactive006/run
476 test/interactive006/input
477 test/interactive006/*.idr
478 test/interactive006/expected
479 test/interactive007/run
480 test/interactive007/input
481 test/interactive007/expected
483 test/io001/run
484 test/io001/*.idr
485 test/io001/expected
486 test/io002/run
487 test/io002/*.idr
488 test/io002/expected
489 test/io003/run
490 test/io003/*.idr
491 test/io003/expected
493 test/literate001/run
494 test/literate001/*.lidr
495 test/literate001/expected
497 test/primitives001/run
498 test/primitives001/*.idr
499 test/primitives001/expected
500 test/primitives002/run
501 test/primitives002/expected
502 test/primitives003/run
503 test/primitives003/*.idr
504 test/primitives003/expected
506 test/proof001/run
507 test/proof001/*.idr
508 test/proof001/expected
509 test/proof002/run
510 test/proof002/*.idr
511 test/proof002/expected
512 test/proof003/run
513 test/proof003/*.idr
514 test/proof003/expected
515 test/proof004/run
516 test/proof004/*.idr
517 test/proof004/expected
518 test/proof005/run
519 test/proof005/*.idr
520 test/proof005/expected
521 test/proof006/run
522 test/proof006/*.idr
523 test/proof006/expected
524 test/proof007/run
525 test/proof007/*.idr
526 test/proof007/expected
527 test/proof008/run
528 test/proof008/*.idr
529 test/proof008/expected
530 test/proof009/run
531 test/proof009/*.idr
532 test/proof009/expected
533 test/proof009/input
534 test/proof010/run
535 test/proof010/*.idr
536 test/proof010/expected
538 test/quasiquote001/run
539 test/quasiquote001/*.idr
540 test/quasiquote001/expected
541 test/quasiquote002/run
542 test/quasiquote002/*.idr
543 test/quasiquote002/expected
544 test/quasiquote003/run
545 test/quasiquote003/*.idr
546 test/quasiquote003/expected
547 test/quasiquote004/run
548 test/quasiquote004/*.idr
549 test/quasiquote004/expected
550 test/quasiquote005/run
551 test/quasiquote005/*.idr
552 test/quasiquote005/expected
555 test/records001/run
556 test/records001/*.idr
557 test/records001/expected
558 test/records002/run
559 test/records002/*.idr
560 test/records002/expected
561 test/records003/run
562 test/records003/*.idr
563 test/records003/expected
565 test/sourceLocation001/run
566 test/sourceLocation001/*.idr
567 test/sourceLocation001/expected
569 test/sugar001/run
570 test/sugar001/*.idr
571 test/sugar001/expected
572 test/sugar002/run
573 test/sugar002/*.idr
574 test/sugar002/expected
575 test/sugar003/run
576 test/sugar003/*.idr
577 test/sugar003/expected
578 test/sugar004/run
579 test/sugar004/*.idr
580 test/sugar004/expected
581 test/sugar005/run
582 test/sugar005/*.idr
583 test/sugar005/expected
585 test/tactics001/run
586 test/tactics001/*.idr
587 test/tactics001/expected
589 test/totality001/run
590 test/totality001/*.idr
591 test/totality001/expected
592 test/totality002/run
593 test/totality002/*.idr
594 test/totality002/expected
595 test/totality003/run
596 test/totality003/*.idr
597 test/totality003/expected
598 test/totality004/run
599 test/totality004/*.idr
600 test/totality004/expected
601 test/totality005/run
602 test/totality005/*.idr
603 test/totality005/expected
604 test/totality006/run
605 test/totality006/*.idr
606 test/totality006/expected
607 test/totality007/run
608 test/totality007/*.ipkg
609 test/totality007/src/*.idr
610 test/totality007/expected
611 test/totality008/run
612 test/totality008/*.idr
613 test/totality008/expected
614 test/totality009/run
615 test/totality009/*.idr
616 test/totality009/expected
618 test/tutorial001/run
619 test/tutorial001/*.idr
620 test/tutorial001/expected
621 test/tutorial002/run
622 test/tutorial002/*.idr
623 test/tutorial002/expected
624 test/tutorial003/run
625 test/tutorial003/*.idr
626 test/tutorial003/expected
627 test/tutorial004/run
628 test/tutorial004/*.idr
629 test/tutorial004/expected
630 test/tutorial005/run
631 test/tutorial005/*.idr
632 test/tutorial005/expected
633 test/tutorial006/run
634 test/tutorial006/*.idr
635 test/tutorial006/expected
637 test/unique001/run
638 test/unique001/*.idr
639 test/unique001/expected
640 test/unique002/run
641 test/unique002/*.idr
642 test/unique002/expected
643 test/unique003/run
644 test/unique003/*.idr
645 test/unique003/expected
647 test/docs001/run
648 test/docs001/input
649 test/docs001/*.idr
650 test/docs001/expected
651 test/docs002/run
652 test/docs002/input
653 test/docs002/*.idr
654 test/docs002/expected
655 test/docs003/run
656 test/docs003/input
657 test/docs003/*.idr
658 test/docs003/expected
661source-repository head
662 type: git
663 location: git://github.com/idris-lang/Idris-dev.git
665Flag FFI
666 Description: Build support for libffi
667 Default: False
668 manual: True
670Flag GMP
671 Description: Use GMP for Integers
672 Default: False
673 manual: True
675Flag curses
676 Description: Use Curses to get the screen width
677 Default: False
678 manual: True
680-- This flag determines whether to show Git hashes in version strings
681-- Defaults to True because Hackage is a source release
682Flag release
683 Description: This is an official release
684 Default: False
685 manual: True
687Flag freestanding
688 Description: Build an Idris that doesn't use cabal
689 Default: False
690 manual: True
692Flag CI
693 Description: Built everything using "-Werror", meant for CI-builds only
694 Default: False
695 manual: True
697Flag execonly
698 Description: Build executables only, skip the libraries and RTS
699 Default: False
700 manual: True
702Library
703 hs-source-dirs: src
704 Exposed-modules:
705 Idris.Core.Binary
706 , Idris.Core.CaseTree
707 , Idris.Core.Constraints
708 , Idris.Core.DeepSeq
709 , Idris.Core.Elaborate
710 , Idris.Core.Evaluate
711 , Idris.Core.Execute
712 , Idris.Core.ProofState
713 , Idris.Core.ProofTerm
714 , Idris.Core.TT
715 , Idris.Core.Typecheck
716 , Idris.Core.Unify
718 , Idris.Elab.Utils
719 , Idris.Elab.Type
720 , Idris.Elab.AsPat
721 , Idris.Elab.Clause
722 , Idris.Elab.Data
723 , Idris.Elab.Record
724 , Idris.Elab.Class
725 , Idris.Elab.Instance
726 , Idris.Elab.Provider
727 , Idris.Elab.Transform
728 , Idris.Elab.Value
730 , Idris.AbsSyntax
731 , Idris.AbsSyntaxTree
732 , Idris.Apropos
733 , Idris.ASTUtils
734 , Idris.CaseSplit
735 , Idris.Chaser
736 , Idris.Colours
737 , Idris.Completion
738 , Idris.Coverage
739 , Idris.DSL
740 , Idris.DataOpts
741 , Idris.DeepSeq
742 , Idris.Delaborate
743 , Idris.Docs
744 , Idris.Docstrings
745 , Idris.ElabDecls
746 , Idris.ElabQuasiquote
747 , Idris.ElabTerm
748 , Idris.Erasure
749 , Idris.Error
750 , Idris.ErrReverse
751 , Idris.Help
752 , Idris.IBC
753 , Idris.IdeMode
754 , Idris.IdrisDoc
755 , Idris.Imports
756 , Idris.Inliner
757 , Idris.Interactive
758 , Idris.Output
759 , Idris.Parser
760 , Idris.ParseHelpers
761 , Idris.ParseOps
762 , Idris.ParseExpr
763 , Idris.ParseData
764 , Idris.PartialEval
765 , Idris.Primitives
766 , Idris.ProofSearch
767 , Idris.Prover
768 , Idris.Providers
769 , Idris.Reflection
770 , Idris.REPL
771 , Idris.REPLParser
772 , Idris.Transforms
773 , Idris.TypeSearch
774 , Idris.Unlit
775 , Idris.WhoCalls
776 , Idris.CmdOptions
778 , IRTS.BCImp
779 , IRTS.Bytecode
780 , IRTS.CodegenC
781 , IRTS.CodegenCommon
782 , IRTS.CodegenJavaScript
783 , IRTS.Exports
784 , IRTS.JavaScript.AST
785 , IRTS.Compiler
786 , IRTS.Defunctionalise
787 , IRTS.DumpBC
788 , IRTS.Inliner
789 , IRTS.Lang
790 , IRTS.LangOpts
791 , IRTS.Simplified
792 , IRTS.System
794 , Pkg.Package
795 , Util.DynamicLinker
796 , Util.ScreenSize
797 , Util.System
799 Other-modules:
800 Util.Pretty
801 , Util.Net
802 , Util.Zlib
804 , Pkg.PParser
806 -- Auto Generated
807 , Paths_idris
808 , Version_idris
809 , Tools_idris
811 Build-depends: base >=4 && <5
812 , annotated-wl-pprint >= 0.5.3 && < 0.6
813 , ansi-terminal < 0.7
814 , ansi-wl-pprint < 0.7
815 , base64-bytestring < 1.1
816 , binary >= 0.7 && < 0.8
817 , blaze-html >= 0.6.1.3 && < 0.8
818 , blaze-markup >= 0.5.2.1 && < 0.6.3.0
819 , bytestring < 0.11
820 , cheapskate < 0.2
821 , containers >= 0.5 && < 0.6
822 , deepseq < 1.5
823 , directory >= 1.2 && < 1.3
824 , filepath < 1.5
825 , fingertree >= 0.1 && < 0.2
826 , haskeline >= 0.7 && < 0.8
827 , lens >= 4.1.1 && < 4.9
828 , mtl >= 2.1 && < 2.3
829 , network < 2.7
830 , optparse-applicative >= 0.11 && < 0.12
831 , parsers >= 0.9 && < 0.13
832 , pretty < 1.2
833 , process < 1.3
834 , split < 0.3
835 , text < 1.3
836 , time >= 1.4 && < 1.6
837 , transformers < 0.5
838 , transformers-compat >= 0.3
839 , trifecta >= 1.1 && < 1.6
840 , uniplate >=1.6 && < 1.7
841 , unordered-containers < 0.3
842 , utf8-string < 0.4
843 , vector < 0.11
844 , vector-binary-instances < 0.3
845 , xml < 1.4
846 , zlib < 0.6
847 , safe
848 Extensions: MultiParamTypeClasses
849 , DeriveFoldable
850 , DeriveTraversable
851 , FunctionalDependencies
852 , FlexibleContexts
853 , FlexibleInstances
854 , TemplateHaskell
856 ghc-prof-options: -auto-all -caf-all
857 ghc-options: -threaded -rtsopts
859 if os(linux)
860 cpp-options: -DLINUX
861 build-depends: unix < 2.8
862 if os(freebsd)
863 cpp-options: -DFREEBSD
864 build-depends: unix < 2.8
865 if os(dragonfly)
866 cpp-options: -DDRAGONFLY
867 build-depends: unix < 2.8
868 if os(darwin)
869 cpp-options: -DMACOSX
870 build-depends: unix < 2.8
871 if os(windows)
872 cpp-options: -DWINDOWS
873 build-depends: Win32 < 2.4
874 if flag(FFI)
875 build-depends: libffi < 0.2
876 cpp-options: -DIDRIS_FFI
877 if flag(GMP)
878 build-depends: libffi < 0.2
879 cpp-options: -DIDRIS_GMP
880 if flag(curses)
881 build-depends: hscurses < 1.5
882 cpp-options: -DCURSES
883 if flag(freestanding)
884 other-modules: Target_idris
885 cpp-options: -DFREESTANDING
886 if flag(CI)
887 ghc-options: -Werror
889Executable idris
890 Main-is: Main.hs
891 hs-source-dirs: main
893 Build-depends: idris
894 , base
895 , filepath
896 , directory
897 , haskeline >= 0.7
898 , transformers
900 ghc-prof-options: -auto-all -caf-all
901 ghc-options: -threaded -rtsopts -funbox-strict-fields
903Executable idris-c
904 Main-is: Main.hs
905 hs-source-dirs: codegen/idris-c
907 Build-depends: idris
908 , base
909 , filepath
910 , haskeline >= 0.7
911 , transformers
913 ghc-prof-options: -auto-all -caf-all
914 ghc-options: -threaded -rtsopts -funbox-strict-fields
916Executable idris-javascript
917 Main-is: Main.hs
918 hs-source-dirs: codegen/idris-javascript
920 Build-depends: idris
921 , base
922 , filepath
923 , haskeline >= 0.7
924 , transformers
926 ghc-prof-options: -auto-all -caf-all
927 ghc-options: -threaded -rtsopts -funbox-strict-fields -O2
929Executable idris-node
930 Main-is: Main.hs
931 hs-source-dirs: codegen/idris-node
933 Build-depends: idris
934 , base
935 , filepath
936 , haskeline >= 0.7
937 , transformers
939 ghc-prof-options: -auto-all -caf-all
940 ghc-options: -threaded -rtsopts -funbox-strict-fields -O2