git.iko.soy/distributed-process
on master help sign in
Factored pipes backend into its own package.

One reason for this is that it introduces some additional dependencies, and we always want to minimize dependencies.

commit95bf372141fa9afb81d10b60f68512c445c6e622 authorRyan Newton <rrnewton@gmail.com> dateWed 22 Feb 2012, 15:49 (15 years ago) parente7d5c21
4 files changed+61−4
network-transport-pipes/LICENSE+31 network-transport-pipes/network-transport-pipes.cabal+28 network-transport/src/Network/Transport/Pipes.hs → network-transport-pipes/src/Network/Transport/Pipes.hs network-transport/network-transport.cabal+2−4
network-transport-pipes/LICENSEnew file+31
@@ -0,0 +1,31 @@
1+Copyright Ryan Newton, 2011
2+
3+All rights reserved.
4+
5+Redistribution and use in source and binary forms, with or without
6+modification, are permitted provided that the following conditions are met:
7+
8+ * Redistributions of source code must retain the above copyright
9+ notice, this list of conditions and the following disclaimer.
10+
11+ * Redistributions in binary form must reproduce the above
12+ copyright notice, this list of conditions and the following
13+ disclaimer in the documentation and/or other materials provided
14+ with the distribution.
15+
16+ * Neither the name of the owner nor the names of other
17+ contributors may be used to endorse or promote products derived
18+ from this software without specific prior written permission.
19+
20+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31+
network-transport-pipes/network-transport-pipes.cabalnew file+28
@@ -0,0 +1,28 @@
1+Name: network-transport-pipes
2+Version: 0.0.1
3+Description: Named Pipes backend for network-transport interface.
4+License: BSD3
5+License-file: LICENSE
6+Author: Ryan Newton
7+Maintainer: rrnewton@gmail.com
8+Homepage: http://github.com/haskell-distributed/
9+Build-Type: Simple
10+Cabal-Version: >=1.2
11+
12+Library
13+ Build-Depends: base >= 3 && < 5,
14+ binary >= 0.5,
15+ cereal,
16+ bytestring >= 0.9,
17+ network-transport,
18+ containers >= 0.4,
19+-- network >= 2.3,
20+-- safe >= 0.3,
21+ unix >= 2.5.0.0,
22+ random,
23+ directory,
24+ unix-bytestring >= 0.3.5.3
25+ Exposed-modules: Network.Transport.Pipes
26+-- Extensions: BangPatterns
27+ ghc-options: -Wall
28+ HS-Source-Dirs: src
network-transport/src/Network/Transport/Pipes.hs → network-transport-pipes/src/Network/Transport/Pipes.hsrenamed

The content is the same.

network-transport/network-transport.cabal+2−4
@@ -16,12 +16,10 @@ Library
1616 containers >= 0.4,
1717 network >= 2.3,
1818 safe >= 0.3,
19− unix >= 2.5.0.0, random, cereal, directory,
20− unix-bytestring >= 0.3.5.3
19+ unix >= 2.5.0.0
2120 Exposed-modules: Network.Transport,
2221 Network.Transport.MVar,
23− Network.Transport.TCP,
24− Network.Transport.Pipes
22+ Network.Transport.TCP
2523 Extensions: BangPatterns
2624 ghc-options: -Wall
2725 HS-Source-Dirs: src