summary refs log tree commit diff
path: root/pkgs/development/octave-modules
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-01-06 11:05:43 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:49 +0200
commit33cc927ed786c7d4213f31320399c86033ed19d5 (patch)
tree659943ff769d9859a62bf326f970f41cc314f7c1 /pkgs/development/octave-modules
parent099a55dc0a3bccea9fb006a6e60ea06c87695887 (diff)
octave.pkgs.geometry: init at 4.0.0
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r--pkgs/development/octave-modules/geometry/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/geometry/default.nix b/pkgs/development/octave-modules/geometry/default.nix
new file mode 100644
index 0000000000000..b4bf57262faec
--- /dev/null
+++ b/pkgs/development/octave-modules/geometry/default.nix
@@ -0,0 +1,26 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+, matgeom
+}:
+
+buildOctavePackage rec {
+  pname = "geometry";
+  version = "4.0.0";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "1zmd97xir62fr5v57xifh2cvna5fg67h9yb7bp2vm3ll04y41lhs";
+  };
+
+  requiredOctavePackages = [
+    matgeom
+  ];
+
+  meta = with lib; {
+    homepage = "https://octave.sourceforge.io/geometry/index.html";
+    license = with licenses; [ gpl3Plus boost ];
+    maintainers = with maintainers; [ KarlJoad ];
+    description = "Library for extending MatGeom functionality";
+  };
+}