From 7b0d9ecdd5cb61c6f06373b3a509e94bb73ba158 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 24 Oct 2012 18:17:42 +0200 Subject: [PATCH] haskell-zeromq3-haskell: add version 0.1.4 --- .../libraries/haskell/zeromq3-haskell/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/haskell/zeromq3-haskell/default.nix diff --git a/pkgs/development/libraries/haskell/zeromq3-haskell/default.nix b/pkgs/development/libraries/haskell/zeromq3-haskell/default.nix new file mode 100644 index 000000000000..44b04397c3f4 --- /dev/null +++ b/pkgs/development/libraries/haskell/zeromq3-haskell/default.nix @@ -0,0 +1,14 @@ +{ cabal, zeromq }: + +cabal.mkDerivation (self: { + pname = "zeromq3-haskell"; + version = "0.1.4"; + sha256 = "026b18ligbrfbg4x7vivk6r2gj9rj3vy6pm3h0s81571h6lk3dhx"; + extraLibraries = [ zeromq ]; + meta = { + homepage = "http://github.com/twittner/zeromq-haskell/"; + description = "Bindings to ZeroMQ 3.x"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index d81918836a63..b6c9c8c26716 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1761,7 +1761,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); yst = callPackage ../development/libraries/haskell/yst {}; - zeromqHaskell = callPackage ../development/libraries/haskell/zeromq-haskell {}; + zeromqHaskell = callPackage ../development/libraries/haskell/zeromq-haskell { zeromq = pkgs.zeromq2; }; + + zeromq3Haskell = callPackage ../development/libraries/haskell/zeromq3-haskell { zeromq = pkgs.zeromq3; }; zipArchive = callPackage ../development/libraries/haskell/zip-archive {};