mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
add zeromq4 and zeromq4-haskell
This commit is contained in:
parent
a986bbf4ba
commit
c4f66df29a
4 changed files with 41 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
})
|
18
pkgs/development/libraries/zeromq/4.x.nix
Normal file
18
pkgs/development/libraries/zeromq/4.x.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue