From b9c7f8dba1cf5a21166bac8c7a68e98067d18717 Mon Sep 17 00:00:00 2001 From: Gavin Rogers Date: Wed, 12 Nov 2014 23:08:05 +0000 Subject: [PATCH] zmq: initial package --- pkgs/servers/zmq/default.nix | 29 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 30 insertions(+) create mode 100644 pkgs/servers/zmq/default.nix diff --git a/pkgs/servers/zmq/default.nix b/pkgs/servers/zmq/default.nix new file mode 100644 index 000000000000..15d453321fb9 --- /dev/null +++ b/pkgs/servers/zmq/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "zeromq"; + version = "4.1.0-rc1"; + + src = fetchurl { + url = "http://download.zeromq.org/${name}-${version}.tar.gz"; + sha256 = "e8e6325abe2ede0a9fb3d1abbe425d8a7911f6ac283652ee49b36afbb0164d60"; + }; + + doCheck = true; + + meta = { + description = "0MQ is a lightweight messaging kernel"; + longDescription = '' + The 0MQ lightweight messaging kernel is a library which extends + the standard socket interfaces with features traditionally provided + by specialised messaging middleware products. 0MQ sockets provide + an abstraction of asynchronous message queues, multiple messaging patterns, + message filtering (subscriptions), seamless access to multiple transport protocols + and more. + ''; + homepage = http://zeromq.org/; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.gavin ]; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f8c822177fd4..ebba5681b1fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7827,6 +7827,7 @@ let zabbix20 = callPackage ../servers/monitoring/zabbix/2.0.nix { }; zabbix22 = callPackage ../servers/monitoring/zabbix/2.2.nix { }; + zmq = callPackage ../servers/zmq/default.nix { }; ### OS-SPECIFIC