-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitvector.cabal
44 lines (36 loc) · 1.18 KB
/
bitvector.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
Name: bitvector
version: 0.1
synopsis: BitVector Library
description: A library for simulating 4-value bits and bit-vectors.
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2010 Philip Weaver
author: Philip Weaver
maintainer: [email protected]
package-url: git://github.com/pheaver/BitVector.git
build-type: Simple
cabal-Version: >= 1.6
-- --------------------------------------------
-- flags
-- --------------------------------------------
flag base4
Description: Compile using base-4 instead of base-3
Default: True
-- --------------------------------------------
-- the library
-- --------------------------------------------
library
build-depends: alt-classes == 0.1
ghc-options: -Wall
if flag(base4)
build-depends: base == 4.*
build-depends: syb
else
build-depends: base == 3.*
exposed-modules: Data.Bit,
Data.BitVector,
Data.BitVector.BitVector1,
Data.BitVector.BitVector2,
Data.BitVector.BitVector3,
Data.Endianness
-- --------------------------------------------