From 86c298b51087b22ac6ee0aef15a182ba70c12dc5 Mon Sep 17 00:00:00 2001 From: Mathijs Kwik Date: Sat, 9 Nov 2013 01:04:42 +0100 Subject: [PATCH] add rethinkdb haskell driver --- .../libraries/haskell/rethinkdb/default.nix | 21 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/haskell/rethinkdb/default.nix diff --git a/pkgs/development/libraries/haskell/rethinkdb/default.nix b/pkgs/development/libraries/haskell/rethinkdb/default.nix new file mode 100644 index 000000000000..4a299e9f556e --- /dev/null +++ b/pkgs/development/libraries/haskell/rethinkdb/default.nix @@ -0,0 +1,21 @@ +{ cabal, aeson, attoparsec, dataDefault, mtl, network +, protocolBuffers, protocolBuffersDescriptor, text, time +, unorderedContainers, utf8String, vector +}: + +cabal.mkDerivation (self: { + pname = "rethinkdb"; + version = "1.8.0.5"; + sha256 = "1s3mzbs0b2jdvs1gfdxb2fp2lw7978ja63411iz43yjd29d3pwzq"; + buildDepends = [ + aeson attoparsec dataDefault mtl network protocolBuffers + protocolBuffersDescriptor text time unorderedContainers utf8String + vector + ]; + meta = { + homepage = "http://github.com/atnnn/haskell-rethinkdb"; + description = "RethinkDB is a distributed document store with a powerful query language"; + license = self.stdenv.lib.licenses.asl20; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 3660a55074cc..0c54836ab6e0 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1929,6 +1929,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x resourcet = callPackage ../development/libraries/haskell/resourcet {}; + rethinkdb = callPackage ../development/libraries/haskell/rethinkdb {}; + rfc5051 = callPackage ../development/libraries/haskell/rfc5051 {}; rosezipper = callPackage ../development/libraries/haskell/rosezipper {};