From 64bacd1be6e9d0ac4b027287e8a06319b6da4879 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 6 Jan 2021 12:19:42 -0600 Subject: [PATCH] octave.pkgs.zeromq: init at 1.5.2 --- .../octave-modules/zeromq/default.nix | 26 +++++++++++++++++++ pkgs/top-level/octave-packages.nix | 4 +++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/octave-modules/zeromq/default.nix diff --git a/pkgs/development/octave-modules/zeromq/default.nix b/pkgs/development/octave-modules/zeromq/default.nix new file mode 100644 index 0000000000000..7a8f7f6d16a15 --- /dev/null +++ b/pkgs/development/octave-modules/zeromq/default.nix @@ -0,0 +1,26 @@ +{ buildOctavePackage +, lib +, fetchurl +, zeromq +}: + +buildOctavePackage rec { + pname = "zeromq"; + version = "1.5.2"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "18h1039ri7dr37jv20cvj5vhw7b57frrda0hhbvlgixinbqmn9j7"; + }; + + 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"; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index 895b7bd75e52f..6278a7042e1bd 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -217,4 +217,8 @@ makeScope newScope (self: windows = callPackage ../development/octave-modules/windows { }; + zeromq = callPackage ../development/octave-modules/zeromq { + inherit (pkgs) zeromq; + }; + })