File: haskell-gi-base.cabal

package info (click to toggle)
haskell-haskell-gi-base 0.21.5-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 316 kB
  • sloc: haskell: 925; ansic: 176; makefile: 5
file content (63 lines) | stat: -rw-r--r-- 2,343 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
name:                haskell-gi-base
version:             0.21.5
synopsis:            Foundation for libraries generated by haskell-gi
description:         Foundation for libraries generated by haskell-gi
homepage:            https://github.com/haskell-gi/haskell-gi-base
license:             LGPL-2.1
                     -- or above
license-file:        LICENSE
author:              Will Thompson,
                     Iñaki García Etxebarria,
                     Jonas Platte
maintainer:          Iñaki García Etxebarria (inaki@blueleaf.cc)
stability:           Experimental
category:            Development
build-type:          Simple
cabal-version:       >=1.8

extra-source-files: ChangeLog.md

source-repository head
  type: git
  location: git://github.com/haskell-gi/haskell-gi-base.git

library
  exposed-modules:     Data.GI.Base,
                       Data.GI.Base.Attributes,
                       Data.GI.Base.BasicConversions,
                       Data.GI.Base.BasicTypes,
                       Data.GI.Base.CallStack,
                       Data.GI.Base.Closure,
                       Data.GI.Base.Constructible,
                       Data.GI.Base.GError,
                       Data.GI.Base.GHashTable,
                       Data.GI.Base.GObject,
                       Data.GI.Base.GType,
                       Data.GI.Base.GValue,
                       Data.GI.Base.GVariant,
                       Data.GI.Base.ManagedPtr,
                       Data.GI.Base.GParamSpec,
                       Data.GI.Base.Overloading,
                       Data.GI.Base.Properties,
                       Data.GI.Base.ShortPrelude,
                       Data.GI.Base.Signals,
                       Data.GI.Base.Utils

  pkgconfig-depends:   gobject-2.0 >= 2.32, glib-2.0
  build-depends:       base >= 4.7 && < 5,
                       bytestring,
                       containers,
                       text >= 1.0

  if !impl(ghc >= 8.0)
    build-depends:     transformers

  if impl(ghc >= 8.0)
    ghc-options: -Wall -Wno-redundant-constraints -fwarn-incomplete-patterns
  else
    ghc-options: -Wall -fwarn-incomplete-patterns

  build-tools:         hsc2hs
  cc-options:          -fPIC
  extensions:          CPP, ForeignFunctionInterface, DoAndIfThenElse, MonoLocalBinds
  c-sources:           c/hsgclosure.c