json-to-haskell/package.yaml

74 lines
1.6 KiB
YAML
Raw Permalink Normal View History

2020-11-03 08:17:10 +03:00
name: json-to-haskell
2020-11-09 06:43:56 +03:00
version: 0.1.1.2
2020-11-08 08:03:01 +03:00
github: "ChrisPenner/json-to-haskell"
2020-11-03 08:17:10 +03:00
license: BSD3
2020-11-08 08:03:01 +03:00
author: "Chris Penner"
maintainer: "christopher.penner@gmail.com"
copyright: "2020 Chris Penner"
2020-11-03 08:17:10 +03:00
extra-source-files:
- README.md
2020-11-09 06:43:56 +03:00
- CHANGELOG.md
2020-11-03 08:17:10 +03:00
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
2020-11-08 08:03:01 +03:00
description: Please see the README on GitHub at <https://github.com/ChrisPenner/json-to-haskell#readme>
2020-11-03 08:17:10 +03:00
dependencies:
- base >= 4.7 && < 5
- recursion-schemes
- aeson
- aeson-extra
- containers
- unordered-containers
- text
- mtl
2020-11-04 07:38:54 +03:00
- casing
2020-11-07 06:30:07 +03:00
- nonempty-containers
- bimap
2020-11-07 08:35:44 +03:00
- microlens-platform
- vector
2020-11-03 08:17:10 +03:00
2020-11-04 07:25:05 +03:00
ghc-options:
- -Wall
2020-11-03 08:17:10 +03:00
library:
source-dirs: src
2020-11-04 07:25:05 +03:00
ghc-options:
- -Wincomplete-patterns
2020-11-03 08:17:10 +03:00
executables:
2020-11-08 08:50:45 +03:00
json-to-haskell:
2020-11-03 08:17:10 +03:00
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- json-to-haskell
2020-11-04 07:25:05 +03:00
- raw-strings-qq
2020-11-08 07:13:58 +03:00
- optparse-applicative
2020-11-07 09:02:29 +03:00
- bytestring
2020-11-08 07:31:46 +03:00
- ansi-wl-pprint
2020-11-03 08:17:10 +03:00
tests:
json-to-haskell-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- json-to-haskell
2020-11-04 07:25:05 +03:00
- hspec
2020-11-08 08:03:01 +03:00
- text
- bytestring
- raw-strings-qq