File: storable-complex.cabal

package info (click to toggle)
haskell-storable-complex 0.2.2-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 72 kB
  • sloc: haskell: 18; makefile: 4
file content (39 lines) | stat: -rw-r--r-- 1,389 bytes parent folder | download | duplicates (2)
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
name:                storable-complex
version:             0.2.2
synopsis:            Storable instance for Complex
description:         Provides a Storable instance for Complex which is binary
		     compatible with C99, C++ and Fortran complex data types.
		     .
		     The only purpose of this package is to provide a standard
		     location for this instance so that other packages needing
		     this instance can play nicely together.
category:            Data
license:             BSD3
license-file:        LICENSE
author:              Jed Brown <jed@59A2.org>
maintainer:          Carter Schonwald <carter.schonwald@gmail.com>
homepage:      https://github.com/cartazio/storable-complex
bug-reports:   https://github.com/cartazio/storable-complex/issues
build-type:	     Simple
cabal-version:       >= 1.6
extra-source-files:
  in-base/Foreign/Storable/Complex.hs
  out-of-base/Foreign/Storable/Complex.hs
  .travis.yml

source-repository head
  type: git
  location: git@github.com:cartazio/storable-complex.git

flag instanceInBase
  description: instance Storable Complex is already in 'base'
  default: True

library
  exposed-modules: Foreign.Storable.Complex
  if flag(instanceInBase)
    build-depends:  base >= 4.8 && < 5
    hs-source-dirs: in-base
  else
    build-depends:  base  < 4.8 && >= 4.4
    hs-source-dirs: out-of-base