forked from mirrors/nixpkgs
Add expressions for Haskell engine-io, engine-io-snap and socket-io
This commit is contained in:
parent
5df645dd28
commit
b4a6e873f6
|
@ -0,0 +1,18 @@
|
|||
{ cabal, attoparsecEnumerator, engineIo, snapCore
|
||||
, unorderedContainers, websockets, websocketsSnap
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "engine-io-snap";
|
||||
version = "1.0.0";
|
||||
sha256 = "152hz2b9zbmjpp517g6kp7fs7kbvyil28dp6djqjlmp9fqkgckap";
|
||||
buildDepends = [
|
||||
attoparsecEnumerator engineIo snapCore unorderedContainers
|
||||
websockets websocketsSnap
|
||||
];
|
||||
meta = {
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
||||
};
|
||||
})
|
21
pkgs/development/libraries/haskell/engine-io/default.nix
Normal file
21
pkgs/development/libraries/haskell/engine-io/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ cabal, aeson, async, attoparsec, base64Bytestring, either
|
||||
, monadLoops, mwcRandom, stm, text, transformers
|
||||
, unorderedContainers, vector, websockets
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "engine-io";
|
||||
version = "1.0.0";
|
||||
sha256 = "08gxhf9ihz32z5ayabxw7mn14rib2kyawrvfqzbdkw8vxgjiasv9";
|
||||
buildDepends = [
|
||||
aeson async attoparsec base64Bytestring either monadLoops mwcRandom
|
||||
stm text transformers unorderedContainers vector websockets
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/ocharles/engine.io";
|
||||
description = "A Haskell implementation of Engine.IO";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
||||
};
|
||||
})
|
18
pkgs/development/libraries/haskell/socket-io/default.nix
Normal file
18
pkgs/development/libraries/haskell/socket-io/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ cabal, aeson, attoparsec, engineIo, mtl, stm, text, transformers
|
||||
, unorderedContainers, vector
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "socket-io";
|
||||
version = "1.0.0";
|
||||
sha256 = "1xvj2x6nr14wna0plivzbzkca2y4xw6bxhvc5mqjh664197r9jsx";
|
||||
buildDepends = [
|
||||
aeson attoparsec engineIo mtl stm text transformers
|
||||
unorderedContainers vector
|
||||
];
|
||||
meta = {
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
|
||||
};
|
||||
})
|
|
@ -702,6 +702,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
encoding = callPackage ../development/libraries/haskell/encoding {};
|
||||
|
||||
engineIo = callPackage ../development/libraries/haskell/engine-io {};
|
||||
engineIoSnap = callPackage ../development/libraries/haskell/engine-io-snap {};
|
||||
|
||||
enumerator = callPackage ../development/libraries/haskell/enumerator {};
|
||||
|
||||
enummapset = callPackage ../development/libraries/haskell/enummapset {};
|
||||
|
@ -2068,6 +2071,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
socks = callPackage ../development/libraries/haskell/socks {};
|
||||
|
||||
socketIo = callPackage ../development/libraries/haskell/socket-io {};
|
||||
|
||||
sparse = callPackage ../development/libraries/haskell/sparse {};
|
||||
|
||||
spawn = callPackage ../development/libraries/haskell/spawn {};
|
||||
|
|
Loading…
Reference in a new issue