From e9385023d749aa96f00c4e06e9bdad1d655af0f9 Mon Sep 17 00:00:00 2001 From: Aycan iRiCAN Date: Sat, 21 Jun 2014 16:37:02 +0300 Subject: [PATCH] Added distributed-process 0.5. Bump binary version dependency of rank1dynamic, distributed-static, network-transport-* to 0.7.2.1. --- .../haskell/distributed-process/default.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 20 +++++++++++++++---- 2 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 pkgs/development/libraries/haskell/distributed-process/default.nix diff --git a/pkgs/development/libraries/haskell/distributed-process/default.nix b/pkgs/development/libraries/haskell/distributed-process/default.nix new file mode 100644 index 00000000000..80458c808a8 --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-process/default.nix @@ -0,0 +1,20 @@ +{ cabal, binary, dataAccessor, deepseq, distributedStatic, hashable +, mtl, networkTransport, random, rank1dynamic, stm, syb, time +, transformers +}: + +cabal.mkDerivation (self: { + pname = "distributed-process"; + version = "0.5.0"; + sha256 = "16lfmkhc6jk2n46w39vf0q1ql426h5jrjgdi6cyjgwy1d5kaqcny"; + buildDepends = [ + binary dataAccessor deepseq distributedStatic hashable mtl + networkTransport random rank1dynamic stm syb time transformers + ]; + meta = { + homepage = "http://haskell-distributed.github.com/"; + description = "Cloud Haskell: Erlang-style concurrency in Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 4441a85b199..07ba2332335 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -635,7 +635,13 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in directoryTree = callPackage ../development/libraries/haskell/directory-tree {}; - distributedStatic = callPackage ../development/libraries/haskell/distributed-static {}; + distributedStatic = callPackage ../development/libraries/haskell/distributed-static { + binary = self.binary_0_7_2_1; + }; + + distributedProcess = callPackage ../development/libraries/haskell/distributed-process { + binary = self.binary_0_7_2_1; + }; distributive = callPackage ../development/libraries/haskell/distributive {}; @@ -1573,9 +1579,13 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in networkSimple = callPackage ../development/libraries/haskell/network-simple { }; - networkTransport = callPackage ../development/libraries/haskell/network-transport {}; + networkTransport = callPackage ../development/libraries/haskell/network-transport { + binary = self.binary_0_7_2_1; + }; - networkTransportTcp = callPackage ../development/libraries/haskell/network-transport-tcp {}; + networkTransportTcp = callPackage ../development/libraries/haskell/network-transport-tcp { + binary = self.binary_0_7_2_1; + }; networkTransportTests = callPackage ../development/libraries/haskell/network-transport-tests {}; @@ -1834,7 +1844,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {}; - rank1dynamic = callPackage ../development/libraries/haskell/rank1dynamic {}; + rank1dynamic = callPackage ../development/libraries/haskell/rank1dynamic { + binary = self.binary_0_7_2_1; + }; ranges = callPackage ../development/libraries/haskell/ranges {};