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:12:33 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:50 +0200
commitbb3295b87e69de4b2bef949d8379c22b5ba39458 (patch)
tree9ab351aff69cbd60adab7a17a17d88c935a4e2d0 /pkgs/development/octave-modules
parent6cce7e8ef56d1efe114037864e06b3defd15182c (diff)
downloadnixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar.gz
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar.bz2
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar.lz
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar.xz
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.tar.zst
nixpkgs-bb3295b87e69de4b2bef949d8379c22b5ba39458.zip
octave.pkgs.image-acquisition: init at 0.2.2
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r--pkgs/development/octave-modules/image-acquisition/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/image-acquisition/default.nix b/pkgs/development/octave-modules/image-acquisition/default.nix
new file mode 100644
index 00000000000..08c4305999b
--- /dev/null
+++ b/pkgs/development/octave-modules/image-acquisition/default.nix
@@ -0,0 +1,32 @@
+{ buildOctavePackage
+, lib
+, fetchurl
+, libv4l
+, fltk
+}:
+
+buildOctavePackage rec {
+  pname = "image-acquisition";
+  version = "0.2.2";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
+    sha256 = "1amp6npkddnnz2i5rm6gvn65qrbn0nxzl2cja3dvc2xqg396wrhh";
+  };
+
+  buildInputs = [
+    libv4l
+    fltk
+  ];
+
+  meta = with lib; {
+    homepage = "https://octave.sourceforge.io/image-acquisition/index.html";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ KarlJoad ];
+    description = "Functions to capture images from connected devices";
+    longDescription = ''
+      The Octave-forge Image Aquisition package provides functions to
+      capture images from connected devices. Currently only v4l2 is supported.
+    '';
+  };
+}