File: network-info-test.cabal

package info (click to toggle)
haskell-network-info 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: ansic: 221; haskell: 12; sh: 3; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 539 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name:           network-info-test
version:        0.1
build-type:     Simple
cabal-version:  >= 1.6
tested-with:    GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1

Executable network-info-test
  hs-source-dirs: ../src src
  include-dirs: ../cbits
  cc-options: -Wall -Werror

  main-is: Main.hs
  other-modules: Network.Info

  build-depends:
    base == 4.*

  if os(windows)
    c-sources: ../cbits/network-windows.c
    extra-libraries: iphlpapi
  else
    c-sources: ../cbits/network-unix.c
  if os(solaris)
    extra-libraries: socket, nsl