forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hostname.cabal
22 lines (18 loc) · 813 Bytes
/
hostname.cabal
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"