1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/development/octave-modules/image-acquisition/default.nix
Karl Hallsby 6b8ae8a33c octavePackages.image-acquisition: propagate libv4l to runtime
libv4l is needed when running Octave with this package. Propagate the
library input so the final Octave environment also contains libv4l.
2024-09-01 11:01:33 -05:00

36 lines
817 B
Nix

{ buildOctavePackage
, lib
, fetchurl
, libv4l
, fltk
}:
buildOctavePackage rec {
pname = "image-acquisition";
version = "0.2.6";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "sha256-Uehwk68GZ/M4WL5M3GF++mCPUg3M08Y0gkdO36/yhNI=";
};
buildInputs = [
fltk
];
propagatedBuildInputs = [
libv4l
];
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.
'';
};
}