2021-01-06 19:19:42 +01:00
|
|
|
{ buildOctavePackage
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, zeromq
|
2021-10-29 07:50:55 +02:00
|
|
|
, pkg-config
|
|
|
|
, autoreconfHook
|
2021-01-06 19:19:42 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "zeromq";
|
2021-10-29 07:50:55 +02:00
|
|
|
version = "1.5.3";
|
2021-01-06 19:19:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2021-10-29 07:50:55 +02:00
|
|
|
sha256 = "1h0pb2pqbnyiavf7r05j8bqxqd8syz16ab48hc74nlnx727anfwl";
|
2021-01-06 19:19:42 +01:00
|
|
|
};
|
|
|
|
|
2021-10-29 07:50:55 +02:00
|
|
|
preAutoreconf = ''
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
postAutoreconf = ''
|
|
|
|
cd ..
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
2021-01-06 19:19:42 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
zeromq
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://octave.sourceforge.io/zeromq/index.html";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
|
|
description = "ZeroMQ bindings for GNU Octave";
|
|
|
|
};
|
|
|
|
}
|