Merge pull request #2463 from triplepoint217/master

add zeromq4 and zeromq4-haskell
This commit is contained in:
Peter Simons 2014-05-01 14:10:59 +02:00
commit 5d5bc8a037
4 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ cabal, async, exceptions, QuickCheck, semigroups, tasty
, tastyHunit, tastyQuickcheck, transformers, zeromq
}:
cabal.mkDerivation (self: {
pname = "zeromq4-haskell";
version = "0.5";
sha256 = "1gimkcaa1n9c85v44yl4n3ljh0xv23pwgbds5g1x8n47x8s0ak9g";
buildDepends = [ async exceptions semigroups transformers ];
testDepends = [
async QuickCheck tasty tastyHunit tastyQuickcheck
];
pkgconfigDepends = [ zeromq ];
meta = {
homepage = "http://github.com/twittner/zeromq-haskell/";
description = "Bindings to ZeroMQ 4.x";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, libuuid}:
stdenv.mkDerivation rec {
name = "zeromq-4.0.4";
src = fetchurl {
url = "http://download.zeromq.org/${name}.tar.gz";
sha256 = "1ef71d46e94f33e27dd5a1661ed626cd39be4d2d6967792a275040e34457d399";
};
buildInputs = [ libuuid ];
meta = {
branch = "4";
homepage = "http://www.zeromq.org";
description = "The Intelligent Transport Layer";
};
}

View File

@ -6165,6 +6165,7 @@ let
zeromq2 = callPackage ../development/libraries/zeromq/2.x.nix {};
zeromq3 = callPackage ../development/libraries/zeromq/3.x.nix {};
zeromq4 = callPackage ../development/libraries/zeromq/4.x.nix {};
### DEVELOPMENT / LIBRARIES / JAVA

View File

@ -2887,6 +2887,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
zeromq3Haskell = callPackage ../development/libraries/haskell/zeromq3-haskell { zeromq = pkgs.zeromq3; };
zeromq4Haskell = callPackage ../development/libraries/haskell/zeromq4-haskell { zeromq = pkgs.zeromq4; };
zipArchive = callPackage ../development/libraries/haskell/zip-archive {};
zipper = callPackage ../development/libraries/haskell/zipper {};