File: half.cabal

package info (click to toggle)
haskell-half 0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 92 kB
  • sloc: haskell: 206; ansic: 48; makefile: 4
file content (55 lines) | stat: -rw-r--r-- 1,316 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
name:          half
category:      Numeric
version:       0.3
license:       BSD3
cabal-version: >= 1.8
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     provisional
homepage:      http://github.com/ekmett/half
bug-reports:   http://github.com/ekmett/half/issues
copyright:     Copyright (C) 2014 Edward A. Kmett
build-type:    Simple
synopsis:      Half-precision floating-point
description:   Half-precision floating-point.

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

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

library
  hs-source-dirs: src
  c-sources: cbits/half.c
  build-depends: base >= 4.3 && < 5
               , template-haskell
  if impl(ghc >= 7.8)
    build-depends: deepseq >= 1.4 && < 1.5
  if impl(ghc < 7.6)
    build-depends: ghc-prim
  ghc-options: -Wall -fwarn-tabs -O2

  if impl(ghc >= 8)
    ghc-options: -Wno-missing-pattern-synonym-signatures

  exposed-modules: Numeric.Half

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs: test
  ghc-options: -Wall
  if impl(ghc >= 7.8)
    build-depends:
        base >= 4.3 && < 5
      , half
      , hspec >= 2.4
      , QuickCheck >= 2.9
  else
     buildable: False