3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.websockets: New expression

This commit is contained in:
Oliver Charles 2014-01-11 22:11:45 +00:00
parent 119257fabd
commit 300d1dcca6
3 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ cabal, attoparsec, blazeBuilder, deepseq, filepath, HUnit, mtl
, network, primitive, QuickCheck, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, text, time, transformers, vector, zlib
, zlibBindings
}:
cabal.mkDerivation (self: {
pname = "io-streams";
version = "1.1.3.0";
sha256 = "1vw9znmnl9syfgr3rplf7fa57qgmjgf8n1kh3ffiqkgrdpif6p9c";
buildDepends = [
attoparsec blazeBuilder network primitive text time transformers
vector zlibBindings
];
testDepends = [
attoparsec blazeBuilder deepseq filepath HUnit mtl network
primitive QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 text time transformers vector zlib
zlibBindings
];
meta = {
description = "Simple, composable, and easy-to-use stream I/O";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
configureFlags = "-fNoInteractiveTests";
})

View file

@ -0,0 +1,27 @@
{ cabal, attoparsec, base64Bytestring, binary, blazeBuilder
, caseInsensitive, entropy, HUnit, ioStreams, mtl, network
, QuickCheck, random, SHA, testFramework, testFrameworkHunit
, testFrameworkQuickcheck2, text
}:
cabal.mkDerivation (self: {
pname = "websockets";
version = "0.8.1.1";
sha256 = "0mgazf0s9sl53r5smidrfqcx7rq2v4kfm37f4f6mjrl656qxpbwd";
buildDepends = [
attoparsec base64Bytestring binary blazeBuilder caseInsensitive
entropy ioStreams mtl network random SHA text
];
testDepends = [
attoparsec base64Bytestring binary blazeBuilder caseInsensitive
entropy HUnit ioStreams mtl network QuickCheck random SHA
testFramework testFrameworkHunit testFrameworkQuickcheck2 text
];
meta = {
homepage = "http://jaspervdj.be/websockets";
description = "A sensible and clean way to write WebSocket-capable servers in Haskell";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
})

View file

@ -1415,6 +1415,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
ioStorage = callPackage ../development/libraries/haskell/io-storage {};
ioStreams = callPackage ../development/libraries/haskell/io-streams {};
iproute = callPackage ../development/libraries/haskell/iproute {};
irc = callPackage ../development/libraries/haskell/irc {};
@ -2399,6 +2401,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
webRoutesBoomerang = callPackage ../development/libraries/haskell/web-routes-boomerang {};
websockets = callPackage ../development/libraries/haskell/websockets {};
CouchDB = callPackage ../development/libraries/haskell/CouchDB {};
wlPprint = callPackage ../development/libraries/haskell/wl-pprint {};