at v206 39 lines 922 B view raw
1{ stdenv, fetchgit, intltool, autoreconfHook, gettext, pkgconfig 2, gtk3, portaudio, libpng, SDL, ffmpeg, udev, libusb1, libv4l, alsaLib }: 3 4stdenv.mkDerivation rec { 5 version = "1.7.2"; 6 rev = "ab84b0b1ed358f0504e1218a0ef792a02b307af8"; 7 name = "guvcview-${version}_${rev}"; 8 9 src = fetchgit { 10 inherit rev; 11 url = "git://git.code.sf.net/p/guvcview/git-master"; 12 sha256 = "08cpbxq3dh2mlsgzk5dj3vfrgap4q281n9h6xzpbsvyifcj1a9n1"; 13 }; 14 15 buildInputs = 16 [ SDL 17 alsaLib 18 autoreconfHook 19 ffmpeg 20 gtk3 21 intltool 22 libusb1 23 libv4l 24 pkgconfig 25 portaudio 26 udev 27 ]; 28 29 preConfigure = '' 30 ./bootstrap.sh 31 ''; 32 33 meta = { 34 description = "A simple interface for devices supported by the linux UVC driver"; 35 homepage = http://guvcview.sourceforge.net; 36 maintainers = [ stdenv.lib.maintainers.coconnor ]; 37 platforms = stdenv.lib.platforms.linux; 38 }; 39}