summaryrefslogtreecommitdiff
path: root/xdelta.cabal
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2018-10-26 02:22:55 -0400
committerJoe Crayne <joe@jerkface.net>2018-10-26 02:22:55 -0400
commit72edf82d5acce1f361771d7d2c70e7ffbfe7f009 (patch)
tree42bb1aa07bd2df1b92a3842ee95cec4e1ef86348 /xdelta.cabal
parentc2410d105de8b08e0633cb9b20d0cd426213de57 (diff)
Match cabal file with package name.
Diffstat (limited to 'xdelta.cabal')
-rw-r--r--xdelta.cabal36
1 files changed, 36 insertions, 0 deletions
diff --git a/xdelta.cabal b/xdelta.cabal
new file mode 100644
index 0000000..09f9b87
--- /dev/null
+++ b/xdelta.cabal
@@ -0,0 +1,36 @@
1cabal-version: 2.2
2name: xdelta
3version: 3.1.0
4synopsis: VCDIFF encoder/decoder.
5-- description:
6homepage: xdelta.org
7license: Apache-2.0
8license-file: xdelta3/LICENSE
9author: Joe Crayne
10maintainer: joe@jerkface.net
11category: Data
12build-type: Simple
13
14extra-source-files: xdelta3/*.h xdelta3/*.c
15
16library
17 exposed-modules: Data.VCDIFF.Types
18 , Data.VCDIFF
19 , Data.Primitive.ByteArray.Util
20
21 build-tools: hsc2hs
22 include-dirs: haskell .
23 cpp-options: -DNOT_MAIN=1 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -DHAVE_CONFIG
24 cxx-options: -Wno-literal-suffix -g
25 cxx-sources: haskell/xdelta3.cc
26
27 hs-source-dirs: haskell
28 build-depends: base >=4.9, bytestring, text, primitive >=0.6.2, containers
29 default-language: Haskell2010
30 ghc-options: -Wmissing-signatures
31
32executable testdiff
33 main-is: examples/testdiff.hs
34 other-modules: Text.XXD
35 hs-source-dirs: haskell examples .
36 build-depends: base, bytestring, memory, xdelta