mirror of
https://github.com/tfausak/witch.git
synced 2024-09-11 06:45:27 +03:00
90 lines
1.8 KiB
Plaintext
90 lines
1.8 KiB
Plaintext
cabal-version: 2.2
|
|
name: witch
|
|
version: 1.2.1.0
|
|
synopsis: Convert values from one type into another.
|
|
description: Witch converts values from one type into another.
|
|
build-type: Simple
|
|
category: Data
|
|
extra-doc-files:
|
|
CHANGELOG.md
|
|
README.md
|
|
|
|
license-file: LICENSE.txt
|
|
license: MIT
|
|
maintainer: Taylor Fausak
|
|
|
|
source-repository head
|
|
location: https://github.com/tfausak/witch
|
|
type: git
|
|
|
|
flag pedantic
|
|
default: False
|
|
manual: True
|
|
|
|
common library
|
|
build-depends: base ^>=4.18.0.0 || ^>=4.19.0.0 || ^>=4.20.0.0
|
|
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,
|
|
|
|
default-language: Haskell2010
|
|
ghc-options:
|
|
-Weverything
|
|
-Wno-all-missed-specialisations
|
|
-Wno-implicit-prelude
|
|
-Wno-missed-specialisations
|
|
-Wno-missing-deriving-strategies
|
|
-Wno-missing-export-lists
|
|
-Wno-missing-exported-signatures
|
|
-Wno-missing-kind-signatures
|
|
-Wno-missing-safe-haskell-mode
|
|
-Wno-prepositive-qualified-module
|
|
-Wno-redundant-constraints
|
|
-Wno-safe
|
|
-Wno-unsafe
|
|
|
|
if flag(pedantic)
|
|
ghc-options:
|
|
-Werror
|
|
|
|
if impl(ghc >= 9.8)
|
|
ghc-options: -Wno-missing-role-annotations
|
|
|
|
common executable
|
|
import: library
|
|
build-depends: witch
|
|
ghc-options:
|
|
-rtsopts
|
|
-threaded
|
|
|
|
library
|
|
import: library
|
|
build-depends:
|
|
template-haskell ^>=2.20.0.0 || ^>=2.21.0.0 || ^>=2.22.0.0
|
|
|
|
-- cabal-gild: discover source/library
|
|
exposed-modules:
|
|
Witch
|
|
Witch.Encoding
|
|
Witch.From
|
|
Witch.Instances
|
|
Witch.Lift
|
|
Witch.TryFrom
|
|
Witch.TryFromException
|
|
Witch.Utility
|
|
|
|
hs-source-dirs: source/library
|
|
|
|
test-suite witch-test-suite
|
|
import: executable
|
|
build-depends:
|
|
HUnit ^>=1.6.2.0,
|
|
transformers ^>=0.6.1.0,
|
|
|
|
hs-source-dirs: source/test-suite
|
|
main-is: Main.hs
|
|
type: exitcode-stdio-1.0
|