From e810a42b84134808ef7135b696830a7d7d444043 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 24 Oct 2012 18:17:27 +0200 Subject: [PATCH] zeromq: add version 3.x --- .../libraries/zeromq/{default.nix => 2.x.nix} | 0 pkgs/development/libraries/zeromq/3.x.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) rename pkgs/development/libraries/zeromq/{default.nix => 2.x.nix} (100%) create mode 100644 pkgs/development/libraries/zeromq/3.x.nix diff --git a/pkgs/development/libraries/zeromq/default.nix b/pkgs/development/libraries/zeromq/2.x.nix similarity index 100% rename from pkgs/development/libraries/zeromq/default.nix rename to pkgs/development/libraries/zeromq/2.x.nix diff --git a/pkgs/development/libraries/zeromq/3.x.nix b/pkgs/development/libraries/zeromq/3.x.nix new file mode 100644 index 000000000000..fbb3b5ad74f7 --- /dev/null +++ b/pkgs/development/libraries/zeromq/3.x.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, libuuid}: + +stdenv.mkDerivation rec { + name = "zeromq-3.2.1-rc2"; + + src = fetchurl { + url = "http://download.zeromq.org/${name}.tar.gz"; + sha256 = "b0a70da77e39537120a1fa058c49434982741ecef5211edcd7aeab4caffb82b7"; + }; + + buildInputs = [ libuuid ]; + + meta = { + homepage = "http://www.zeromq.org"; + description = "The Intelligent Transport Layer"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 21b090783d39..23bdb7359389 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5088,7 +5088,8 @@ let static = true; })); - zeromq = callPackage ../development/libraries/zeromq {}; + zeromq2 = callPackage ../development/libraries/zeromq/2.x.nix {}; + zeromq3 = callPackage ../development/libraries/zeromq/3.x.nix {}; ### DEVELOPMENT / LIBRARIES / JAVA