File: hostname.cabal

package info (click to toggle)
haskell-hostname 1.0-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56 kB
  • sloc: haskell: 34; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 813 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Name:               hostname
Version:            1.0
Cabal-Version:      >= 1.2
Category:           Network
Synopsis:           A very simple package providing a cross-platform means of determining the hostname
License:            BSD3
License-File:       LICENSE
Author:             Max Bolingbroke <batterseapower@hotmail.com>
Maintainer:         Max Bolingbroke <batterseapower@hotmail.com>
Build-Type:         Simple

Library
        Exposed-Modules: Network.HostName
                         
        Build-Depends:   base >= 3 && < 5
                         
        Extensions:      CPP, ForeignFunctionInterface
        
        if os(windows)
                         Build-Depends:   Win32 >= 2.0
                         Cpp-Options:     -DWINDOWS
                         Extra-Libraries: "kernel32"