GitLab will be upgraded on 30 Jan 2023 from 2.00 pm (AEDT) to 3.00 pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

mu-pure.cabal 2.36 KB
Newer Older
1
2
3
4
-- Initial libmu.cabal generated by cabal init.  For further documentation,
--  see http://haskell.org/cabal/users-guide/

-- The name of the package.
5
name:                mu-pure
6

7
-- The package version.  See the Haskell package versioning policy (PVP)
8
9
10
11
12
13
14
15
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.0

-- A short (one-line) description of the package.
16
synopsis:            Haskell interface for the Mu Micro Virtual Machine
17
18

-- A longer description of the package.
19
-- description:
20
21
22
23
24
25
26
27

-- The license under which the package is released.
license:             BSD3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
28
author:              Andrew Hall, Nathan Yong
29

30
-- An email address to which users can send suggestions, bug reports, and
31
-- patches.
32
maintainer:          nathyong <nathyong@gmail.com>
33
34

-- A copyright notice.
35
-- copyright:
36
37
38
39
40

category:            Language

build-type:          Simple

41
-- Extra files to be distributed with the package, such as examples or a
42
43
44
45
46
47
48
49
50
-- README.
extra-source-files:  README.txt

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10


library
  -- Modules exported by the library.
51
  exposed-modules:
52
53
    Mu.AST,
    Mu.AST.CommInst
54
    Mu.PrettyPrint
55

56

57
  -- Modules included in this library but not exported.
58
59
  -- other-modules:

60
  -- LANGUAGE extensions used by modules in this package.
61
  other-extensions:    NoImplicitPrelude, FlexibleInstances, FlexibleContexts
62
  build-depends:       Cabal >= 1.22.4.0
63

64
  -- Other library packages from which modules are imported.
65
66
  build-depends:
    base,
67
    binary,
68
69
70
71
    bytestring,
    containers,
    mtl,
    transformers
72

73
74
  -- Directories containing source files.
  hs-source-dirs:      src
75

76
77
78
79
  -- Base language which the package is written in.
  default-language:    Haskell2010


80
test-suite hspec
81
82
  type:                exitcode-stdio-1.0
  other-extensions:    NoImplicitPrelude, FlexibleInstances
83
  build-depends:       base
84
85
86
  ghc-options:         -Wall
  main-is:             Test.hs
  hs-source-dirs:      src, test
87
  default-language:    Haskell2010