diff --git a/packages/distributed-process-async/distributed-process-async.cabal b/packages/distributed-process-async/distributed-process-async.cabal index 1b9d52df..219f6d9a 100644 --- a/packages/distributed-process-async/distributed-process-async.cabal +++ b/packages/distributed-process-async/distributed-process-async.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 name: distributed-process-async version: 0.2.7 -cabal-version: >=1.10 build-type: Simple -license: BSD3 +license: BSD-3-Clause license-file: LICENCE stability: experimental Copyright: Tim Watson 2012 - 2016 diff --git a/packages/distributed-process-client-server/distributed-process-client-server.cabal b/packages/distributed-process-client-server/distributed-process-client-server.cabal index 6cce2f1f..8b9c6830 100644 --- a/packages/distributed-process-client-server/distributed-process-client-server.cabal +++ b/packages/distributed-process-client-server/distributed-process-client-server.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 name: distributed-process-client-server version: 0.2.5.1 -cabal-version: >=1.8 build-type: Simple -license: BSD3 +license: BSD-3-Clause license-file: LICENCE stability: experimental Copyright: Tim Watson 2012 - 2017 @@ -17,7 +17,6 @@ description: Modelled after Erlang OTP's gen_server, this framework provides concurrent, distributed applications with relative ease. category: Control Tested-With: GHC==8.2.2 -data-dir: "" source-repository head type: git @@ -45,7 +44,6 @@ library derive == 2.5.5, uniplate == 1.6.12, ghc-prim - extensions: CPP hs-source-dirs: src ghc-options: -Wall exposed-modules: @@ -96,7 +94,6 @@ test-suite ManagedProcessTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind - extensions: CPP main-is: TestManagedProcess.hs test-suite PrioritisedProcessTests @@ -131,5 +128,4 @@ test-suite PrioritisedProcessTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind - extensions: CPP main-is: TestPrioritisedProcess.hs diff --git a/packages/distributed-process-client-server/tests/ManagedProcessCommon.hs b/packages/distributed-process-client-server/tests/ManagedProcessCommon.hs index 91f3b092..2f9baf22 100644 --- a/packages/distributed-process-client-server/tests/ManagedProcessCommon.hs +++ b/packages/distributed-process-client-server/tests/ManagedProcessCommon.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE RecordWildCards #-} diff --git a/packages/distributed-process-client-server/tests/TestManagedProcess.hs b/packages/distributed-process-client-server/tests/TestManagedProcess.hs index beea0959..bb9397cc 100644 --- a/packages/distributed-process-client-server/tests/TestManagedProcess.hs +++ b/packages/distributed-process-client-server/tests/TestManagedProcess.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE RecordWildCards #-} diff --git a/packages/distributed-process-client-server/tests/TestPrioritisedProcess.hs b/packages/distributed-process-client-server/tests/TestPrioritisedProcess.hs index d4de8fbf..d355f606 100644 --- a/packages/distributed-process-client-server/tests/TestPrioritisedProcess.hs +++ b/packages/distributed-process-client-server/tests/TestPrioritisedProcess.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} diff --git a/packages/distributed-process-execution/distributed-process-execution.cabal b/packages/distributed-process-execution/distributed-process-execution.cabal index 1b414c35..44c4c6d8 100644 --- a/packages/distributed-process-execution/distributed-process-execution.cabal +++ b/packages/distributed-process-execution/distributed-process-execution.cabal @@ -1,14 +1,13 @@ +cabal-version: 3.0 name: distributed-process-execution version: 0.1.2.2 -cabal-version: >=1.8 build-type: Simple -license: BSD3 +license: BSD-3-Clause license-file: LICENCE stability: experimental Copyright: Tim Watson 2012 - 2013 Author: Tim Watson Maintainer: Tim Watson -Stability: experimental Homepage: http://github.com/haskell-distributed/distributed-process-execution Bug-Reports: http://github.com/haskell-distributed/distributed-process-execution/issues synopsis: Execution Framework for The Cloud Haskell Application Platform @@ -18,7 +17,6 @@ description: for event management, mailbox buffering and message routing. category: Control tested-with: GHC == 7.4.2 GHC == 7.6.2 -data-dir: "" extra-source-files: ChangeLog source-repository head @@ -48,7 +46,6 @@ library derive == 2.5.5, uniplate == 1.6.12, ghc-prim - extensions: CPP hs-source-dirs: src ghc-options: -Wall exposed-modules: @@ -98,7 +95,6 @@ test-suite ExchangeTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind -eventlog - extensions: CPP main-is: TestExchange.hs @@ -138,6 +134,5 @@ test-suite MailboxTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind -eventlog - extensions: CPP main-is: TestMailbox.hs other-modules: MailboxTestFilters diff --git a/packages/distributed-process-execution/src/Control/Distributed/Process/Execution/Mailbox.hs b/packages/distributed-process-execution/src/Control/Distributed/Process/Execution/Mailbox.hs index 6f2f9c6a..5d30e71c 100644 --- a/packages/distributed-process-execution/src/Control/Distributed/Process/Execution/Mailbox.hs +++ b/packages/distributed-process-execution/src/Control/Distributed/Process/Execution/Mailbox.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE StandaloneDeriving #-} diff --git a/packages/distributed-process-execution/tests/MailboxTestFilters.hs b/packages/distributed-process-execution/tests/MailboxTestFilters.hs index 21cc739c..3a4c22cd 100644 --- a/packages/distributed-process-execution/tests/MailboxTestFilters.hs +++ b/packages/distributed-process-execution/tests/MailboxTestFilters.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/packages/distributed-process-execution/tests/TestExchange.hs b/packages/distributed-process-execution/tests/TestExchange.hs index ed01943a..1490eb6d 100644 --- a/packages/distributed-process-execution/tests/TestExchange.hs +++ b/packages/distributed-process-execution/tests/TestExchange.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE BangPatterns #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/packages/distributed-process-execution/tests/TestMailbox.hs b/packages/distributed-process-execution/tests/TestMailbox.hs index ef4c7de4..593b5bba 100644 --- a/packages/distributed-process-execution/tests/TestMailbox.hs +++ b/packages/distributed-process-execution/tests/TestMailbox.hs @@ -1,4 +1,5 @@ {-# LANGUAGE BangPatterns #-} +{-# LANGUAGE CPP #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/packages/distributed-process-extras/distributed-process-extras.cabal b/packages/distributed-process-extras/distributed-process-extras.cabal index e4806f7d..21d7816b 100644 --- a/packages/distributed-process-extras/distributed-process-extras.cabal +++ b/packages/distributed-process-extras/distributed-process-extras.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 name: distributed-process-extras version: 0.3.5 -cabal-version: >=1.8 build-type: Simple -license: BSD3 +license: BSD-3-Clause license-file: LICENCE stability: experimental Copyright: Tim Watson 2012 - 2017 @@ -15,7 +15,6 @@ description: Supporting library, providing common types and utilities used by various libraries built on top of distributed-process category: Control Tested-With: GHC==7.10.3 GHC==8.0.1 GHC==8.0.2 -data-dir: "" extra-source-files: ChangeLog source-repository head @@ -45,23 +44,22 @@ library Build-Depends: time < 1.5, old-locale >= 1.0 && <1.1 else Build-Depends: time >= 1.5 - extensions: CPP other-extensions: ExistentialQuantification ghc-options: -Wall HS-Source-Dirs: src exposed-modules: - Control.Distributed.Process.Extras, - Control.Distributed.Process.Extras.Call, - Control.Distributed.Process.Extras.Monitoring, - Control.Distributed.Process.Extras.SystemLog, - Control.Distributed.Process.Extras.Time, - Control.Distributed.Process.Extras.Timer, - Control.Distributed.Process.Extras.UnsafePrimitives, - Control.Concurrent.Utils, - Control.Distributed.Process.Extras.Internal.Containers.MultiMap, - Control.Distributed.Process.Extras.Internal.Primitives, - Control.Distributed.Process.Extras.Internal.Types, - Control.Distributed.Process.Extras.Internal.Queue.SeqQ, + Control.Distributed.Process.Extras + Control.Distributed.Process.Extras.Call + Control.Distributed.Process.Extras.Monitoring + Control.Distributed.Process.Extras.SystemLog + Control.Distributed.Process.Extras.Time + Control.Distributed.Process.Extras.Timer + Control.Distributed.Process.Extras.UnsafePrimitives + Control.Concurrent.Utils + Control.Distributed.Process.Extras.Internal.Containers.MultiMap + Control.Distributed.Process.Extras.Internal.Primitives + Control.Distributed.Process.Extras.Internal.Types + Control.Distributed.Process.Extras.Internal.Queue.SeqQ Control.Distributed.Process.Extras.Internal.Queue.PriorityQ Control.Distributed.Process.Extras.Internal.Unsafe @@ -84,7 +82,6 @@ test-suite InternalQueueTests hs-source-dirs: tests ghc-options: -Wall -rtsopts - extensions: CPP main-is: TestQueues.hs cpp-options: -DTESTING @@ -113,7 +110,6 @@ test-suite PrimitivesTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind - extensions: CPP main-is: TestPrimitives.hs test-suite TimerTests @@ -138,7 +134,6 @@ test-suite TimerTests hs-source-dirs: tests ghc-options: -Wall -rtsopts - extensions: CPP main-is: TestTimer.hs cpp-options: -DTESTING @@ -175,5 +170,4 @@ test-suite LoggerTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind - extensions: CPP main-is: TestLog.hs diff --git a/packages/distributed-process-extras/src/Control/Distributed/Process/Extras/SystemLog.hs b/packages/distributed-process-extras/src/Control/Distributed/Process/Extras/SystemLog.hs index cbad465c..1aa28a8d 100644 --- a/packages/distributed-process-extras/src/Control/Distributed/Process/Extras/SystemLog.hs +++ b/packages/distributed-process-extras/src/Control/Distributed/Process/Extras/SystemLog.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/packages/distributed-process-extras/tests/TestLog.hs b/packages/distributed-process-extras/tests/TestLog.hs index a04b5063..d97514e7 100644 --- a/packages/distributed-process-extras/tests/TestLog.hs +++ b/packages/distributed-process-extras/tests/TestLog.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/packages/distributed-process-extras/tests/TestPrimitives.hs b/packages/distributed-process-extras/tests/TestPrimitives.hs index e4092b77..7a79ff0d 100644 --- a/packages/distributed-process-extras/tests/TestPrimitives.hs +++ b/packages/distributed-process-extras/tests/TestPrimitives.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE TemplateHaskell #-} diff --git a/packages/distributed-process-extras/tests/TestTimer.hs b/packages/distributed-process-extras/tests/TestTimer.hs index 2dc013b7..5151f0e4 100644 --- a/packages/distributed-process-extras/tests/TestTimer.hs +++ b/packages/distributed-process-extras/tests/TestTimer.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -Wno-orphans #-} +{-# LANGUAGE CPP #-} module Main where #if ! MIN_VERSION_base(4,6,0) diff --git a/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal b/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal index a9e64a03..32776130 100644 --- a/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal +++ b/packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal @@ -1,8 +1,8 @@ Name: distributed-process-simplelocalnet Version: 0.3.1 -Cabal-Version: >=1.10 +cabal-version: >=2.0 Build-Type: Simple -License: BSD3 +License: BSD-3-Clause License-File: LICENSE Copyright: Well-Typed LLP Author: Duncan Coutts, Nicolas Wu, Edsko de Vries diff --git a/packages/distributed-process-supervisor/distributed-process-supervisor.cabal b/packages/distributed-process-supervisor/distributed-process-supervisor.cabal index 8e5aafc1..91ba9f5b 100644 --- a/packages/distributed-process-supervisor/distributed-process-supervisor.cabal +++ b/packages/distributed-process-supervisor/distributed-process-supervisor.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 name: distributed-process-supervisor version: 0.2.1 -cabal-version: >=1.8 build-type: Simple -license: BSD3 +license: BSD-3-Clause license-file: LICENSE Copyright: Tim Watson 2012 - 2013 Author: Tim Watson @@ -21,7 +21,6 @@ description: A part of the Cloud Haskell framework For detailed information see "Control.Distributed.Process.Supervisor" category: Control tested-with: GHC == 8.2.2 -data-dir: "" extra-source-files: ChangeLog source-repository head @@ -48,7 +47,6 @@ library time > 1.4 && < 1.15, transformers, exceptions >= 0.8.3 && < 0.11 - extensions: CPP hs-source-dirs: src ghc-options: -Wall exposed-modules: @@ -93,7 +91,6 @@ test-suite SupervisorTests hs-source-dirs: tests ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-name-shadowing -fno-warn-unused-do-bind -eventlog - extensions: CPP main-is: TestSupervisor.hs other-modules: TestUtils @@ -133,6 +130,5 @@ test-suite NonThreadedSupervisorTests hs-source-dirs: tests ghc-options: -Wall -rtsopts -fno-warn-unused-do-bind -fno-warn-name-shadowing - extensions: CPP main-is: TestSupervisor.hs other-modules: TestUtils diff --git a/packages/distributed-process-supervisor/src/Control/Distributed/Process/Supervisor.hs b/packages/distributed-process-supervisor/src/Control/Distributed/Process/Supervisor.hs index fa0a24ec..2e7053cf 100644 --- a/packages/distributed-process-supervisor/src/Control/Distributed/Process/Supervisor.hs +++ b/packages/distributed-process-supervisor/src/Control/Distributed/Process/Supervisor.hs @@ -1,4 +1,5 @@ {-# LANGUAGE BangPatterns #-} +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE ExistentialQuantification #-} diff --git a/packages/distributed-process-supervisor/tests/TestSupervisor.hs b/packages/distributed-process-supervisor/tests/TestSupervisor.hs index 312b1d58..1d1894c1 100644 --- a/packages/distributed-process-supervisor/tests/TestSupervisor.hs +++ b/packages/distributed-process-supervisor/tests/TestSupervisor.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE RecordWildCards #-} diff --git a/packages/distributed-process-supervisor/tests/TestUtils.hs b/packages/distributed-process-supervisor/tests/TestUtils.hs index 91e09e66..670440a4 100644 --- a/packages/distributed-process-supervisor/tests/TestUtils.hs +++ b/packages/distributed-process-supervisor/tests/TestUtils.hs @@ -1,5 +1,6 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} -{-# LANGUAGE TupleSections #-} +{-# LANGUAGE TupleSections #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE DeriveGeneric #-} diff --git a/packages/distributed-process-systest/distributed-process-systest.cabal b/packages/distributed-process-systest/distributed-process-systest.cabal index 2bd68725..03b28ce8 100644 --- a/packages/distributed-process-systest/distributed-process-systest.cabal +++ b/packages/distributed-process-systest/distributed-process-systest.cabal @@ -1,16 +1,16 @@ +cabal-version: 3.0 name: distributed-process-systest version: 0.3.1 synopsis: Cloud Haskell Test Support description: Testing Frameworks and Capabilities for programs built on Cloud Haskell homepage: http://github.com/haskell-distributed/distributed-process-systest -license: BSD3 +license: BSD-3-Clause license-file: LICENSE Author: Tim Watson Maintainer: watson.timothy@gmail.com copyright: Tim Watson category: Control, Cloud Haskell build-type: Simple -cabal-version: >=1.10 source-repository head type: git diff --git a/packages/distributed-process-tests/distributed-process-tests.cabal b/packages/distributed-process-tests/distributed-process-tests.cabal index d08d9875..02ef1394 100644 --- a/packages/distributed-process-tests/distributed-process-tests.cabal +++ b/packages/distributed-process-tests/distributed-process-tests.cabal @@ -1,16 +1,16 @@ +cabal-version: 3.0 name: distributed-process-tests version: 0.4.12 synopsis: Tests and test support tools for distributed-process. homepage: http://github.com/haskell-distributed/distributed-process/tree/master/distributed-process-tests description: Tests and test suite for Cloud Haskell libraries. -license: BSD3 +license: BSD-3-Clause license-file: LICENSE Author: Duncan Coutts, Nicolas Wu, Edsko de Vries Maintainer: Tim Watson copyright: Well-Typed LLP category: Control, Cloud Haskell build-type: Simple -cabal-version: >=1.10 flag tcp Description: build and run TCP tests diff --git a/packages/distributed-process/distributed-process.cabal b/packages/distributed-process/distributed-process.cabal index 105488e3..defc9adc 100644 --- a/packages/distributed-process/distributed-process.cabal +++ b/packages/distributed-process/distributed-process.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 Name: distributed-process Version: 0.7.6 -Cabal-Version: >=1.10 Build-Type: Simple -License: BSD3 +License: BSD-3-Clause License-File: LICENSE Copyright: Well-Typed LLP, Tweag I/O Limited Author: Duncan Coutts, Nicolas Wu, Edsko de Vries @@ -57,31 +57,31 @@ Library exceptions >= 0.5, containers >= 0.5 && < 0.8, deepseq >= 1.3.0.1 && < 1.6 - Exposed-modules: Control.Distributed.Process, - Control.Distributed.Process.Closure, - Control.Distributed.Process.Debug, - Control.Distributed.Process.Internal.BiMultiMap, - Control.Distributed.Process.Internal.Closure.BuiltIn, - Control.Distributed.Process.Internal.Closure.Explicit, - Control.Distributed.Process.Internal.CQueue, - Control.Distributed.Process.Internal.Messaging, - Control.Distributed.Process.Internal.Primitives, - Control.Distributed.Process.Internal.Spawn, - Control.Distributed.Process.Internal.StrictContainerAccessors, - Control.Distributed.Process.Internal.StrictList, - Control.Distributed.Process.Internal.StrictMVar, - Control.Distributed.Process.Internal.Types, - Control.Distributed.Process.Internal.WeakTQueue, - Control.Distributed.Process.Management, - Control.Distributed.Process.Node, - Control.Distributed.Process.Serializable, + Exposed-modules: Control.Distributed.Process + Control.Distributed.Process.Closure + Control.Distributed.Process.Debug + Control.Distributed.Process.Internal.BiMultiMap + Control.Distributed.Process.Internal.Closure.BuiltIn + Control.Distributed.Process.Internal.Closure.Explicit + Control.Distributed.Process.Internal.CQueue + Control.Distributed.Process.Internal.Messaging + Control.Distributed.Process.Internal.Primitives + Control.Distributed.Process.Internal.Spawn + Control.Distributed.Process.Internal.StrictContainerAccessors + Control.Distributed.Process.Internal.StrictList + Control.Distributed.Process.Internal.StrictMVar + Control.Distributed.Process.Internal.Types + Control.Distributed.Process.Internal.WeakTQueue + Control.Distributed.Process.Management + Control.Distributed.Process.Node + Control.Distributed.Process.Serializable Control.Distributed.Process.UnsafePrimitives - Control.Distributed.Process.Management.Internal.Agent, - Control.Distributed.Process.Management.Internal.Bus, - Control.Distributed.Process.Management.Internal.Types, - Control.Distributed.Process.Management.Internal.Trace.Primitives, - Control.Distributed.Process.Management.Internal.Trace.Remote, - Control.Distributed.Process.Management.Internal.Trace.Types, + Control.Distributed.Process.Management.Internal.Agent + Control.Distributed.Process.Management.Internal.Bus + Control.Distributed.Process.Management.Internal.Types + Control.Distributed.Process.Management.Internal.Trace.Primitives + Control.Distributed.Process.Management.Internal.Trace.Remote + Control.Distributed.Process.Management.Internal.Trace.Types Control.Distributed.Process.Management.Internal.Trace.Tracer default-language: Haskell2010 ghc-options: -Wall diff --git a/packages/distributed-static/distributed-static.cabal b/packages/distributed-static/distributed-static.cabal index c36a4452..f1ba5bb5 100644 --- a/packages/distributed-static/distributed-static.cabal +++ b/packages/distributed-static/distributed-static.cabal @@ -1,3 +1,4 @@ +cabal-version: 3.0 Name: distributed-static Version: 0.3.10 Synopsis: Compositional, type-safe, polymorphic static values and closures @@ -15,7 +16,7 @@ Description: /Towards Haskell in the Cloud/ (Epstein et al, Haskell and various extensions: type safety (including for polymorphic static values) and compositionality. Homepage: http://haskell-distributed.github.com -License: BSD3 +License: BSD-3-Clause License-File: LICENSE Author: Edsko de Vries Maintainer: Facundo Domínguez @@ -23,7 +24,6 @@ Bug-Reports: https://github.com/haskell-distributed/distributed-static/i Copyright: Well-Typed LLP Category: Control Build-Type: Simple -Cabal-Version: >=1.10 extra-source-files: ChangeLog Tested-With: GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 diff --git a/packages/network-transport-inmemory/network-transport-inmemory.cabal b/packages/network-transport-inmemory/network-transport-inmemory.cabal index 77e7b364..3ca44826 100644 --- a/packages/network-transport-inmemory/network-transport-inmemory.cabal +++ b/packages/network-transport-inmemory/network-transport-inmemory.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 Name: network-transport-inmemory -Version: 0.5.4 -Cabal-Version: >=1.10 +Version: 0.5.40 Build-Type: Simple -License: BSD3 +License: BSD-3-Clause License-file: LICENSE Copyright: Well-Typed LLP, Tweag I/O Limited Author: Duncan Coutts, Nicolas Wu, Edsko de Vries, Alexander Vershilov diff --git a/packages/network-transport-tcp/network-transport-tcp.cabal b/packages/network-transport-tcp/network-transport-tcp.cabal index d60fad38..efad33ac 100644 --- a/packages/network-transport-tcp/network-transport-tcp.cabal +++ b/packages/network-transport-tcp/network-transport-tcp.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 Name: network-transport-tcp Version: 0.8.4 -Cabal-Version: >=1.10 Build-Type: Simple -License: BSD3 +License: BSD-3-Clause License-file: LICENSE Copyright: Well-Typed LLP, Tweag I/O Limited Author: Duncan Coutts, Nicolas Wu, Edsko de Vries diff --git a/packages/network-transport-tcp/src/Network/Transport/TCP.hs b/packages/network-transport-tcp/src/Network/Transport/TCP.hs index 304964bb..d540c8f0 100644 --- a/packages/network-transport-tcp/src/Network/Transport/TCP.hs +++ b/packages/network-transport-tcp/src/Network/Transport/TCP.hs @@ -10,7 +10,7 @@ -- Applications that use the TCP transport should use -- 'Network.Socket.withSocketsDo' in their main function for Windows -- compatibility (see "Network.Socket"). - +{-# LANGUAGE CPP #-} {-# LANGUAGE RecursiveDo #-} {-# LANGUAGE TupleSections #-} {-# LANGUAGE RankNTypes #-} diff --git a/packages/network-transport-tcp/src/Network/Transport/TCP/Internal.hs b/packages/network-transport-tcp/src/Network/Transport/TCP/Internal.hs index 2d21416e..35e3296c 100644 --- a/packages/network-transport-tcp/src/Network/Transport/TCP/Internal.hs +++ b/packages/network-transport-tcp/src/Network/Transport/TCP/Internal.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} -- | Utility functions for TCP sockets module Network.Transport.TCP.Internal ( ControlHeader(..) diff --git a/packages/network-transport-tcp/tests/TestTCP.hs b/packages/network-transport-tcp/tests/TestTCP.hs index c52de069..c2157ee7 100644 --- a/packages/network-transport-tcp/tests/TestTCP.hs +++ b/packages/network-transport-tcp/tests/TestTCP.hs @@ -1,5 +1,6 @@ {-# LANGUAGE RebindableSyntax, TemplateHaskell #-} {-# LANGUAGE BangPatterns #-} +{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Main where diff --git a/packages/network-transport-tests/network-transport-tests.cabal b/packages/network-transport-tests/network-transport-tests.cabal index d8305233..dce6a14b 100644 --- a/packages/network-transport-tests/network-transport-tests.cabal +++ b/packages/network-transport-tests/network-transport-tests.cabal @@ -1,16 +1,16 @@ +cabal-version: 3.0 name: network-transport-tests version: 0.3.2 synopsis: Unit tests for Network.Transport implementations -- description: homepage: http://haskell-distributed.github.com -license: BSD3 +license: BSD-3-Clause license-file: LICENSE author: Edsko de Vries maintainer: Facundo Domínguez copyright: Well-Typed LLP category: Network build-type: Simple -cabal-version: >=1.10 Source-Repository head Type: git diff --git a/packages/network-transport-tests/src/Network/Transport/Tests.hs b/packages/network-transport-tests/src/Network/Transport/Tests.hs index 8e1bb08d..7c386017 100644 --- a/packages/network-transport-tests/src/Network/Transport/Tests.hs +++ b/packages/network-transport-tests/src/Network/Transport/Tests.hs @@ -1,4 +1,5 @@ {-# LANGUAGE RebindableSyntax #-} +{-# LANGUAGE CPP #-} module Network.Transport.Tests where import Prelude hiding diff --git a/packages/network-transport-tests/src/Network/Transport/Tests/Auxiliary.hs b/packages/network-transport-tests/src/Network/Transport/Tests/Auxiliary.hs index cb733f41..9075551b 100644 --- a/packages/network-transport-tests/src/Network/Transport/Tests/Auxiliary.hs +++ b/packages/network-transport-tests/src/Network/Transport/Tests/Auxiliary.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} +{-# LANGUAGE CPP #-} module Network.Transport.Tests.Auxiliary ( -- Running tests runTest diff --git a/packages/network-transport-tests/src/Network/Transport/Tests/Traced.hs b/packages/network-transport-tests/src/Network/Transport/Tests/Traced.hs index c67f82f2..c681b249 100644 --- a/packages/network-transport-tests/src/Network/Transport/Tests/Traced.hs +++ b/packages/network-transport-tests/src/Network/Transport/Tests/Traced.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} -- | Add tracing to the IO monad (see examples). -- -- [Usage] diff --git a/packages/network-transport/network-transport.cabal b/packages/network-transport/network-transport.cabal index 7d6d15b8..50d55612 100644 --- a/packages/network-transport/network-transport.cabal +++ b/packages/network-transport/network-transport.cabal @@ -1,8 +1,8 @@ +cabal-version: 3.0 Name: network-transport Version: 0.5.7 -Cabal-Version: >=1.10 Build-Type: Simple -License: BSD3 +License: BSD-3-Clause License-File: LICENSE Copyright: Well-Typed LLP Author: Duncan Coutts, Nicolas Wu, Edsko de Vries @@ -72,7 +72,7 @@ Library deepseq >= 1.0 && < 1.6 if impl(ghc < 7.6) Build-Depends: ghc-prim >= 0.2 && < 0.4 - Exposed-Modules: Network.Transport, + Exposed-Modules: Network.Transport Network.Transport.Util Network.Transport.Internal Other-Extensions: ForeignFunctionInterface diff --git a/packages/network-transport/src/Network/Transport/Internal.hs b/packages/network-transport/src/Network/Transport/Internal.hs index bde78489..99faa491 100644 --- a/packages/network-transport/src/Network/Transport/Internal.hs +++ b/packages/network-transport/src/Network/Transport/Internal.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} -- | Internal functions module Network.Transport.Internal ( -- * Encoders/decoders diff --git a/packages/rank1dynamic/rank1dynamic.cabal b/packages/rank1dynamic/rank1dynamic.cabal index 65ecf7d0..b72c4083 100644 --- a/packages/rank1dynamic/rank1dynamic.cabal +++ b/packages/rank1dynamic/rank1dynamic.cabal @@ -1,3 +1,4 @@ +cabal-version: 3.0 Name: rank1dynamic Version: 0.4.1 Synopsis: Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types @@ -5,7 +6,7 @@ Description: "Data.Typeable" and "Data.Dynamic" only support monomorphic In this package we provide similar functionality but with support for rank-1 polymorphic types. Homepage: http://haskell-distributed.github.com -License: BSD3 +License: BSD-3-Clause License-File: LICENSE Author: Edsko de Vries Maintainer: Facundo Domínguez @@ -13,7 +14,6 @@ Bug-Reports: https://github.com/haskell-distributed/rank1dynamic/issues Copyright: Well-Typed LLP, Tweag I/O Limited Category: Data Build-Type: Simple -Cabal-Version: >=1.10 extra-source-files: ChangeLog Source-Repository head