From 2f10e17cd7397e11c091987053b95346a0e1079f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 8 Nov 2014 02:57:34 +0300 Subject: [PATCH] cppzmq: add package --- pkgs/development/libraries/cppzmq/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/cppzmq/default.nix diff --git a/pkgs/development/libraries/cppzmq/default.nix b/pkgs/development/libraries/cppzmq/default.nix new file mode 100644 index 000000000000..a7b70615d932 --- /dev/null +++ b/pkgs/development/libraries/cppzmq/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchgit }: + +stdenv.mkDerivation rec { + name = "cppzmq"; + + src = fetchgit { + url = "https://github.com/zeromq/cppzmq"; + rev = "1f05e0d111197c64be32ad5aecd59f4d1b05a819"; + sha256 = "3a3507fd5646f191088e7a0a7a09846da54b0cac0fcb08f7c4c8d510b484e6da"; + }; + + installPhase = '' + install -Dm644 zmq.hpp $out/include/zmq.hpp + ''; + + meta = with stdenv.lib; { + homepage = https://github.com/zeromq/cppzmq; + license = licenses.bsd2; + description = "C++ binding for 0MQ"; + maintainers = maintainers.abbradar; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a5314759b714..398f8f35a573 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7087,6 +7087,8 @@ let zeromq3 = callPackage ../development/libraries/zeromq/3.x.nix {}; zeromq4 = callPackage ../development/libraries/zeromq/4.x.nix {}; + cppzmq = callPackage ../development/libraries/cppzmq {}; + zziplib = callPackage ../development/libraries/zziplib { }; ### DEVELOPMENT / LIBRARIES / AGDA