Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildOctavePackage, 3 lib, 4 fetchurl, 5 libv4l, 6 fltk, 7}: 8 9buildOctavePackage rec { 10 pname = "image-acquisition"; 11 version = "0.3.0"; 12 13 src = fetchurl { 14 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 15 sha256 = "sha256-vgLDbqFGlbXjDaxRtaBHAYYJ+wUjtB0NYYkQFIqTOgU="; 16 }; 17 18 buildInputs = [ 19 fltk 20 ]; 21 22 propagatedBuildInputs = [ 23 libv4l 24 ]; 25 26 meta = { 27 homepage = "https://gnu-octave.github.io/packages/image-acquisition/"; 28 license = lib.licenses.gpl3Plus; 29 maintainers = with lib.maintainers; [ KarlJoad ]; 30 description = "Functions to capture images from connected devices"; 31 longDescription = '' 32 The Octave-forge Image Aquisition package provides functions to 33 capture images from connected devices. Currently only v4l2 is supported. 34 ''; 35 }; 36}