about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix')
-rw-r--r--nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix b/nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix
new file mode 100644
index 000000000000..ecea6c0f62e4
--- /dev/null
+++ b/nixpkgs/pkgs/development/octave-modules/sparsersb/default.nix
@@ -0,0 +1,26 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+, librsb
+}:
+
+buildOctavePackage rec {
+  pname = "sparsersb";
+  version = "1.0.8";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "0nl7qppa1cm51188hqhbfswlih9hmy1yz7v0f5i07z0g0kbd62xw";
+  };
+
+  propagatedBuildInputs = [
+    librsb
+  ];
+
+  meta = with lib; {
+    homepage = "https://octave.sourceforge.io/sparsersb/index.html";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ KarlJoad ];
+    description = "Interface to the librsb package implementing the RSB sparse matrix format for fast shared-memory sparse matrix computations";
+  };
+}