File: network-info-test.cabal

package info (click to toggle)
haskell-network-info 0.2.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 100 kB
  • ctags: 23
  • sloc: ansic: 209; haskell: 12; sh: 3; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 482 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
name:           network-info-test
version:        0.1
build-type:     Simple
cabal-version:  >= 1.6

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