mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge branch 'master' of git://github.com/hrdinka/nixpkgs
haskell-wai-websockets: add version 2.1.0 and haskell-leveldb-haskell: add version 0.3.0
This commit is contained in:
commit
ad3d9755a9
3 changed files with 47 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
{ cabal, async, dataDefault, filepath, leveldb, resourcet
|
||||
, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "leveldb-haskell";
|
||||
version = "0.3.0";
|
||||
sha256 = "0hdxn6v7fzc0wlpkymlci60m2584h6fn78bxdnv2q18ra03r3ygs";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
async dataDefault filepath resourcet transformers
|
||||
];
|
||||
extraLibraries = [ leveldb ];
|
||||
meta = {
|
||||
homepage = "http://github.com/kim/leveldb-haskell";
|
||||
description = "Haskell bindings to LevelDB";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -0,0 +1,22 @@
|
|||
{ cabal, blazeBuilder, caseInsensitive, conduit, fileEmbed
|
||||
, httpTypes, ioStreams, network, text, transformers, wai
|
||||
, waiAppStatic, warp, websockets
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "wai-websockets";
|
||||
version = "2.1.0";
|
||||
sha256 = "094imqhkn4ghifgp2qhs4hnby3zzdd84fhmyvvy7igcpz1rmll7a";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [
|
||||
blazeBuilder caseInsensitive conduit fileEmbed httpTypes ioStreams
|
||||
network text transformers wai waiAppStatic warp websockets
|
||||
];
|
||||
meta = {
|
||||
homepage = "http://github.com/yesodweb/wai";
|
||||
description = "Provide a bridge betweeen WAI and the websockets package";
|
||||
license = self.stdenv.lib.licenses.mit;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -1590,6 +1590,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
lenses = callPackage ../development/libraries/haskell/lenses {};
|
||||
|
||||
leveldbHaskell = callPackage ../development/libraries/haskell/leveldb-haskell {};
|
||||
|
||||
libffi = callPackage ../development/libraries/haskell/libffi {
|
||||
libffi = pkgs.libffi;
|
||||
};
|
||||
|
@ -2570,6 +2572,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
|
||||
waiTest = callPackage ../development/libraries/haskell/wai-test {};
|
||||
|
||||
waiWebsockets = callPackage ../development/libraries/haskell/wai-websockets {};
|
||||
|
||||
warp = callPackage ../development/libraries/haskell/warp {};
|
||||
|
||||
warpTls = callPackage ../development/libraries/haskell/warp-tls {};
|
||||
|
|
Loading…
Reference in a new issue