From b1fb1a3ee7849fe3d8d7ad606a57e18b80828476 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 6 Jan 2021 12:00:46 -0600 Subject: [PATCH] octave.pkgs.sockets: init at 1.2.1 --- .../octave-modules/sockets/default.nix | 21 +++++++++++++++++++ pkgs/top-level/octave-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/octave-modules/sockets/default.nix diff --git a/pkgs/development/octave-modules/sockets/default.nix b/pkgs/development/octave-modules/sockets/default.nix new file mode 100644 index 000000000000..688bd6a0e929 --- /dev/null +++ b/pkgs/development/octave-modules/sockets/default.nix @@ -0,0 +1,21 @@ +{ buildOctavePackage +, lib +, fetchurl +}: + +buildOctavePackage rec { + pname = "sockets"; + version = "1.2.1"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "18f1zpqcf6h9b4fb0x2c5nvc3mvgj1141f1s8d9gnlhlrjlq8vqg"; + }; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/sockets/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Socket functions for networking from within octave"; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index e27fd20a4b8f..eb8770dc3f6d 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -177,6 +177,8 @@ makeScope newScope (self: signal = callPackage ../development/octave-modules/signal { }; + sockets = callPackage ../development/octave-modules/sockets { }; + struct = callPackage ../development/octave-modules/struct { }; symbolic = callPackage ../development/octave-modules/symbolic {