File: void.cabal

package info (click to toggle)
haskell-void 0.7.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 100 kB
  • sloc: haskell: 117; makefile: 2
file content (74 lines) | stat: -rw-r--r-- 1,857 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name:          void
category:      Data Structures
version:       0.7.3
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     portable
homepage:      http://github.com/ekmett/void
bug-reports:   http://github.com/ekmett/void/issues
copyright:     Copyright (C) 2008-2015 Edward A. Kmett
synopsis:      A Haskell 98 logically uninhabited data type
description:   A Haskell 98 logically uninhabited data type, used to indicate that a given term should not exist.
build-type:    Simple
tested-with:   GHC==8.8.1
             , GHC==8.6.5
             , GHC==8.4.4
             , GHC==8.2.2
             , GHC==8.0.2
             , GHC==7.10.3
             , GHC==7.8.4
             , GHC==7.6.3
             , GHC==7.4.2
             , GHC==7.2.2
             , GHC==7.0.4

extra-source-files:
  .ghci
  .gitignore
  .travis.yml
  .vim.custom
  CHANGELOG.markdown
  README.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/void.git

flag safe
  manual: True
  default: False

library
  default-language: Haskell98
  hs-source-dirs: src
  exposed-modules:
    Data.Void.Unsafe

  build-depends: base >= 3 && < 10

  ghc-options: -Wall

  if flag(safe)
    cpp-options: -DSAFE

  if !impl(ghc>=7.9)
    hs-source-dirs: src-old
    exposed-modules: Data.Void
    build-depends:
      deepseq    >= 1.1 && < 1.5,
      hashable   >= 1.1,
      semigroups >= 0.8.2,
      template-haskell >=2.5.0.0 && <2.11

    if impl(ghc)
      other-extensions: DeriveDataTypeable
      cpp-options: -DLANGUAGE_DeriveDataTypeable

    if impl(ghc >= 7.2)
      other-extensions: StandaloneDeriving
      -- other-extensions: DeriveGeneric isn't known to cabal yet
      cpp-options: -DLANGUAGE_DeriveGeneric
      build-depends: ghc-prim