Commit 688254fc authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Drop obsolete `if !impl(nhc98)` and refactor `.cabal`

This is a follow-up to e5fc2ac7

 which removed NHC98 support but didn't
consider the `process.cabal` file. While at it, this normalizes other
parts of the cabal file and adds a `repository this` declaration.
Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent 47dc1f24
......@@ -13,46 +13,60 @@ description:
This package contains libraries for dealing with system processes.
extra-source-files:
aclocal.m4 configure.ac configure
aclocal.m4
configure
configure.ac
include/HsProcessConfig.h.in
extra-tmp-files:
config.log config.status autom4te.cache
autom4te.cache
config.log
config.status
include/HsProcessConfig.h
source-repository head
type: git
location: http://git.haskell.org/packages/process.git
source-repository this
type: git
location: http://git.haskell.org/packages/process.git
tag: process-1.2.0.0-release
library
default-language: Haskell2010
other-extensions: CPP, ForeignFunctionInterface, InterruptibleFFI, RecordWildCards, Trustworthy
other-extensions:
CPP
ForeignFunctionInterface
InterruptibleFFI
RecordWildCards
Trustworthy
exposed-modules: System.Cmd
if !impl(nhc98)
exposed-modules:
System.Cmd
System.Process
if impl(ghc)
exposed-modules:
System.Process
if impl(ghc)
exposed-modules:
System.Process.Internals
c-sources:
cbits/runProcess.c
include-dirs: include
includes:
runProcess.h
install-includes:
runProcess.h
processFlags.h
HsProcessConfig.h
if os(windows)
build-depends: Win32 >=2.2.0.0
extra-libraries: kernel32
else
build-depends: unix >= 2.5 && < 2.8
System.Process.Internals
c-sources:
cbits/runProcess.c
include-dirs: include
includes:
runProcess.h
install-includes:
runProcess.h
processFlags.h
HsProcessConfig.h
ghc-options: -Wall
build-depends: base >= 4.4 && < 5,
directory >= 1.1 && < 1.3,
filepath >= 1.2 && < 1.4,
deepseq >= 1.1 && < 1.4
\ No newline at end of file
deepseq >= 1.1 && < 1.4
if os(windows)
build-depends: Win32 >=2.2 && < 2.4
extra-libraries: kernel32
else
build-depends: unix >= 2.5 && < 2.8
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment