summaryrefslogtreecommitdiff
path: root/src/pgf-binary/pgf-binary.cabal
diff options
context:
space:
mode:
authorthomas <thomas@digitalgrammars.com>2015-09-04 12:58:29 +0000
committerthomas <thomas@digitalgrammars.com>2015-09-04 12:58:29 +0000
commit76e4e653372cdd124100d1a4f78bff9cb2679304 (patch)
tree1e149865d990158000a27c371c3b1454a61c5ed3 /src/pgf-binary/pgf-binary.cabal
parent206e38028f9e642c26e3717310fdb1af4a8bc594 (diff)
src/pgf-binary: reimplementation of GF's customized Data.Binary on top of the standard binary packages
This reduces the amount of duplicated code from 2400 to 490. No code from data-binary-ieee754 is duplicated. The module is called PGF.Data.Binary instead of Data.Binary. It is not in use yet.
Diffstat (limited to 'src/pgf-binary/pgf-binary.cabal')
-rw-r--r--src/pgf-binary/pgf-binary.cabal27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pgf-binary/pgf-binary.cabal b/src/pgf-binary/pgf-binary.cabal
new file mode 100644
index 000000000..3f9bea896
--- /dev/null
+++ b/src/pgf-binary/pgf-binary.cabal
@@ -0,0 +1,27 @@
+name: pgf-binary
+version: 0.5
+
+cabal-version: >= 1.10
+build-type: Simple
+license: BSD3
+--license-file: LICENSE
+synopsis: Custom version of the binary-0.5 package for the PGF library
+homepage: http://www.grammaticalframework.org/
+--bug-reports: http://code.google.com/p/grammatical-framework/issues/list
+maintainer: Thomas Hallgren
+stability: provisional
+category: Data, Parsing
+tested-with: GHC==7.4.2, GHC==7.8.3
+
+source-repository head
+ type: darcs
+ location: http://www.grammaticalframework.org/
+
+Library
+ default-language: Haskell2010
+ build-depends: base >= 4.3 && <5, binary, data-binary-ieee754,
+ containers, array, bytestring
+ exposed-modules: PGF.Data.Binary
+
+ ghc-options: -fwarn-unused-imports -O2
+ extensions: FlexibleInstances, FlexibleContexts