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 000000000000..25b53834f942 --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-process/default.nix @@ -0,0 +1,22 @@ +{ cabal, binary, dataAccessor, distributedStatic, mtl +, networkTransport, random, rank1dynamic, stm, syb, time +, transformers +}: + +cabal.mkDerivation (self: { + pname = "distributed-process"; + version = "0.3.1"; + sha256 = "048j27mpdmknz2s4ja3q2mla1d2sjbvrpmzx0lz2qas123qz1siq"; + buildDepends = [ + binary dataAccessor distributedStatic mtl networkTransport random + rank1dynamic stm syb time transformers + ]; + noHaddock = true; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Cloud Haskell: Erlang-style concurrency in Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/distributed-static/default.nix b/pkgs/development/libraries/haskell/distributed-static/default.nix new file mode 100644 index 000000000000..0778089bdd06 --- /dev/null +++ b/pkgs/development/libraries/haskell/distributed-static/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary, rank1dynamic }: + +cabal.mkDerivation (self: { + pname = "distributed-static"; + version = "0.2.0.0"; + sha256 = "04s3iils9ji8bwizvm36r5ihnd11098346br0919dv1x6g67a610"; + buildDepends = [ binary rank1dynamic ]; + meta = { + homepage = "http://www.github.com/haskell-distributed/distributed-process"; + description = "Compositional, type-safe, polymorphic static values and closures"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/network-transport/default.nix b/pkgs/development/libraries/haskell/network-transport/default.nix new file mode 100644 index 000000000000..9e3ab7e77967 --- /dev/null +++ b/pkgs/development/libraries/haskell/network-transport/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary, transformers }: + +cabal.mkDerivation (self: { + pname = "network-transport"; + version = "0.2.0.2"; + sha256 = "1pipykqwbjmbkgkmk0ss2pvfp72rkxwmz49d1j5xi8b0rlfgw05c"; + buildDepends = [ binary transformers ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Network abstraction layer"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/development/libraries/haskell/rank1dynamic/default.nix b/pkgs/development/libraries/haskell/rank1dynamic/default.nix new file mode 100644 index 000000000000..b243279d64e2 --- /dev/null +++ b/pkgs/development/libraries/haskell/rank1dynamic/default.nix @@ -0,0 +1,15 @@ +{ cabal, binary }: + +cabal.mkDerivation (self: { + pname = "rank1dynamic"; + version = "0.1.0.0"; + sha256 = "19wyklhf5sghip0i71sza7lv50lj2dawfxy6k67njxr1y56ky92w"; + buildDepends = [ binary ]; + meta = { + homepage = "http://github.com/haskell-distributed/distributed-process"; + description = "Like Data.Dynamic/Data.Typeable but with support for rank-1 polymorphic types"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.andres ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e7157bc507b2..8a9377c50c64 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -652,6 +652,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); directoryTree = callPackage ../development/libraries/haskell/directory-tree {}; + distributedProcess = callPackage ../development/libraries/haskell/distributed-process {}; + + distributedStatic = callPackage ../development/libraries/haskell/distributed-static {}; + distributive = callPackage ../development/libraries/haskell/distributive {}; dlist = callPackage ../development/libraries/haskell/dlist {}; @@ -1138,6 +1142,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); networkConduit = callPackage ../development/libraries/haskell/network-conduit {}; + networkTransport = callPackage ../development/libraries/haskell/network-transport {}; + newtype = callPackage ../development/libraries/haskell/newtype {}; nonNegative = callPackage ../development/libraries/haskell/non-negative {}; @@ -1277,6 +1283,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); randomShuffle = callPackage ../development/libraries/haskell/random-shuffle {}; + rank1dynamic = callPackage ../development/libraries/haskell/rank1dynamic {}; + ranges = callPackage ../development/libraries/haskell/ranges {}; rvar = callPackage ../development/libraries/haskell/rvar {};