octave.pkgs.image-acquisition: init at 0.2.2

This commit is contained in:
Karl Hallsby 2021-01-06 11:12:33 -06:00 committed by Doron Behar
parent 6cce7e8ef5
commit bb3295b87e
2 changed files with 34 additions and 0 deletions

View file

@ -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.
'';
};
}

View file

@ -113,6 +113,8 @@ makeScope newScope (self:
image = callPackage ../development/octave-modules/image { };
image-acquisition = callPackage ../development/octave-modules/image-acquisition { };
io = callPackage ../development/octave-modules/io {
inherit (octave) enableJava;
};