2015-03-12 01:48:58 +00:00
|
|
|
{ stdenv, fetchurl, zeromq }:
|
2014-12-17 19:00:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-18 19:24:49 +00:00
|
|
|
version = "4.0.2";
|
2016-08-22 15:14:23 +00:00
|
|
|
name = "czmq-${version}";
|
2014-12-17 19:00:48 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-18 19:24:49 +00:00
|
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${name}.tar.gz";
|
|
|
|
sha256 = "12gbh57xnz2v82x1g80gv4bwapmyzl00lbin5ix3swyac8i7m340";
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
|
2015-09-18 02:21:43 +00:00
|
|
|
# Needs to be propagated for the .pc file to work
|
|
|
|
propagatedBuildInputs = [ zeromq ];
|
2014-12-17 19:00:48 +00:00
|
|
|
|
2015-03-12 01:48:58 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-12-17 19:00:48 +00:00
|
|
|
homepage = "http://czmq.zeromq.org/";
|
|
|
|
description = "High-level C Binding for ZeroMQ";
|
2015-03-12 01:48:58 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
}
|