summaryrefslogtreecommitdiff
path: root/src/runtime/haskell-bind/pgf2.cabal
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@johnjcamilleri.com>2020-08-03 10:53:51 +0200
committerGitHub <noreply@github.com>2020-08-03 10:53:51 +0200
commite10bb790cb257bc025e6256cd8c8a6bbba542754 (patch)
tree89678b42b9a703d67d25eebe1cf394797d994585 /src/runtime/haskell-bind/pgf2.cabal
parent830dbe760db2df0c573c06cb481d0611bf55908b (diff)
parentc53353f08763fbbfb5c0abeaa03da6a23aa64080 (diff)
Merge pull request #69 from GrammaticalFramework/pgf2-hackage
Update pgf2 metadata for uploading to Hackage Even though this isn't able to package the C runtime itself into the Haskell package, I think these changes are still worth merging into master.
Diffstat (limited to 'src/runtime/haskell-bind/pgf2.cabal')
-rw-r--r--src/runtime/haskell-bind/pgf2.cabal78
1 files changed, 44 insertions, 34 deletions
diff --git a/src/runtime/haskell-bind/pgf2.cabal b/src/runtime/haskell-bind/pgf2.cabal
index 9197bff9a..a4e113f3b 100644
--- a/src/runtime/haskell-bind/pgf2.cabal
+++ b/src/runtime/haskell-bind/pgf2.cabal
@@ -1,37 +1,47 @@
-name: pgf2
-version: 0.1.0.0
--- synopsis:
--- description:
-homepage: http://www.grammaticalframework.org
-license: LGPL-3
---license-file: LICENSE
-author: Krasimir Angelov, Inari
-maintainer:
--- copyright:
-category: Language
-build-type: Simple
-extra-source-files: README
-cabal-version: >=1.10
+name: pgf2
+version: 1.2.0
+synopsis: Bindings to the C version of the PGF runtime
+description:
+ GF, Grammatical Framework, is a programming language for multilingual grammar applications.
+ GF grammars are compiled into Portable Grammar Format (PGF) which can be used with the PGF runtime, written in C.
+ This package provides Haskell bindings to that runtime.
+homepage: https://www.grammaticalframework.org
+license: LGPL-3
+license-file: LICENSE
+author: Krasimir Angelov
+maintainer: kr.angelov@gmail.com
+category: Language
+build-type: Simple
+extra-source-files: CHANGELOG.md, README.md
+cabal-version: >=1.10
library
- exposed-modules: PGF2, PGF2.Internal
- -- backwards compatibility API:
- --, PGF, PGF.Internal
- other-modules: PGF2.FFI, PGF2.Expr, PGF2.Type
- build-depends: base >=4.3,
- containers, pretty
- -- hs-source-dirs:
- default-language: Haskell2010
- build-tools: hsc2hs
+ exposed-modules:
+ PGF2,
+ PGF2.Internal
+ other-modules:
+ PGF2.FFI,
+ PGF2.Expr,
+ PGF2.Type
+ build-depends:
+ base >=4.3 && <5,
+ containers,
+ pretty
+ default-language: Haskell2010
+ build-tools: hsc2hs
+ extra-libraries: pgf gu
+ cc-options: -std=c99
+ c-sources: utils.c
- extra-libraries: pgf gu
- cc-options: -std=c99
- c-sources: utils.c
-
-executable pgf-shell
- main-is: pgf-shell.hs
- hs-source-dirs: examples
- build-depends: base, pgf2, containers, mtl, lifted-base
- default-language: Haskell2010
- if impl(ghc>=7.0)
- ghc-options: -rtsopts
+-- executable pgf-shell
+-- main-is: pgf-shell.hs
+-- hs-source-dirs: examples
+-- build-depends:
+-- base,
+-- containers,
+-- lifted-base,
+-- mtl,
+-- pgf2
+-- default-language: Haskell2010
+-- if impl(ghc>=7.0)
+-- ghc-options: -rtsopts