diff --git a/pkgs/development/libraries/haskell/websockets-snap/default.nix b/pkgs/development/libraries/haskell/websockets-snap/default.nix new file mode 100644 index 000000000000..be70c9bb479a --- /dev/null +++ b/pkgs/development/libraries/haskell/websockets-snap/default.nix @@ -0,0 +1,19 @@ +{ cabal, blazeBuilder, enumerator, ioStreams, mtl, snapCore +, snapServer, websockets +}: + +cabal.mkDerivation (self: { + pname = "websockets-snap"; + version = "0.8.2.0"; + sha256 = "0z6my5l1rm39prnhpvgg7z3q57y29ai3wddw1yfadrdsx8qra67s"; + buildDepends = [ + blazeBuilder enumerator ioStreams mtl snapCore snapServer + websockets + ]; + meta = { + description = "Snap integration for the websockets library"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index e8f2ac5020f2..e4fa4b824039 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2417,6 +2417,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x websockets = callPackage ../development/libraries/haskell/websockets {}; + websocketsSnap = callPackage ../development/libraries/haskell/websockets-snap {}; + CouchDB = callPackage ../development/libraries/haskell/CouchDB {}; wlPprint = callPackage ../development/libraries/haskell/wl-pprint {};