mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
22 lines
574 B
Nix
22 lines
574 B
Nix
{ stdenv, fetchurl, zeromq }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.2.0";
|
|
pname = "czmq";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "1szciz62sk3fm4ga9qjpxz0n0lazvphm32km95bq92ncng12kayg";
|
|
};
|
|
|
|
# Needs to be propagated for the .pc file to work
|
|
propagatedBuildInputs = [ zeromq ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "http://czmq.zeromq.org/";
|
|
description = "High-level C Binding for ZeroMQ";
|
|
license = licenses.mpl20;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|