about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/octave-modules/image-acquisition/default.nix
blob: 08c4305999b36f885a3132e950afab8ca6e11e9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.
    '';
  };
}