witch/witch.cabal

91 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-04-18 17:27:12 +03:00
cabal-version: 2.2
name: witch
2024-11-08 03:46:04 +03:00
version: 1.2.3.1
synopsis: Convert values from one type into another.
description: Witch converts values from one type into another.
2020-11-14 19:54:45 +03:00
build-type: Simple
category: Data
extra-doc-files:
CHANGELOG.md
README.md
license-file: LICENSE.txt
2022-01-11 15:30:31 +03:00
license: MIT
2020-11-14 19:54:45 +03:00
maintainer: Taylor Fausak
source-repository head
location: https://github.com/tfausak/witch
type: git
flag pedantic
default: False
manual: True
2022-01-11 15:30:31 +03:00
common library
build-depends: base ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0
2021-04-18 17:50:39 +03:00
build-depends:
bytestring ^>=0.11.4.0 || ^>=0.12.0.2,
containers ^>=0.6.7 || ^>=0.7,
tagged ^>=0.8.8,
text ^>=2.0.2 || ^>=2.1,
time ^>=1.12.2 || ^>=1.14,
2020-11-14 20:22:08 +03:00
default-language: Haskell2010
2020-11-14 19:54:45 +03:00
ghc-options:
-Weverything
2021-05-11 01:51:22 +03:00
-Wno-all-missed-specialisations
2020-11-14 19:54:45 +03:00
-Wno-implicit-prelude
2021-05-27 03:03:34 +03:00
-Wno-missed-specialisations
2023-02-12 22:55:05 +03:00
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-missing-exported-signatures
2023-03-18 21:27:42 +03:00
-Wno-missing-kind-signatures
2023-02-12 22:55:05 +03:00
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
-Wno-redundant-constraints
2020-11-14 19:54:45 +03:00
-Wno-safe
-Wno-unsafe
if flag(pedantic)
ghc-options:
-Werror
2024-06-18 00:13:29 +03:00
if impl(ghc >=9.8)
ghc-options: -Wno-missing-role-annotations
2022-01-11 15:30:31 +03:00
common executable
import: library
build-depends: witch
ghc-options:
-rtsopts
-threaded
2022-01-11 15:36:00 +03:00
2021-04-18 17:27:12 +03:00
library
2022-01-11 15:30:31 +03:00
import: library
2022-09-08 23:03:40 +03:00
build-depends:
template-haskell ^>=2.20.0.0 || ^>=2.21.0.0 || ^>=2.22.0.0
-- cabal-gild: discover source/library
2021-04-18 17:27:12 +03:00
exposed-modules:
Witch
Witch.Encoding
2021-05-11 02:22:57 +03:00
Witch.From
Witch.Generic
2021-04-18 17:27:12 +03:00
Witch.Instances
Witch.Lift
2021-05-11 02:31:18 +03:00
Witch.TryFrom
Witch.TryFromException
2021-04-18 17:27:12 +03:00
Witch.Utility
2022-01-11 15:30:31 +03:00
hs-source-dirs: source/library
2021-04-18 17:27:12 +03:00
2022-09-08 17:05:47 +03:00
test-suite witch-test-suite
2022-01-11 15:30:31 +03:00
import: executable
2020-11-14 19:54:45 +03:00
build-depends:
HUnit ^>=1.6.2.0,
transformers ^>=0.6.1.0,
2022-01-11 15:30:31 +03:00
hs-source-dirs: source/test-suite
2020-11-14 19:54:45 +03:00
main-is: Main.hs
type: exitcode-stdio-1.0