nixpkgs/pkgs/development/libraries/czmq/4.x.nix

22 lines
572 B
Nix
Raw Normal View History

{ stdenv, fetchurl, zeromq }:
2014-12-17 19:00:48 +00:00
stdenv.mkDerivation rec {
version = "4.2.0";
pname = "czmq";
2014-12-17 19:00:48 +00:00
src = fetchurl {
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1szciz62sk3fm4ga9qjpxz0n0lazvphm32km95bq92ncng12kayg";
2014-12-17 19:00:48 +00:00
};
2015-09-18 03:21:43 +01: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; {
homepage = http://czmq.zeromq.org/;
2014-12-17 19:00:48 +00:00
description = "High-level C Binding for ZeroMQ";
2015-03-12 01:48:58 +00:00
license = licenses.mpl20;
platforms = platforms.all;
2014-12-17 19:00:48 +00:00
};
}