diff options
author | Corey O'Connor <coreyoconnor@gmail.com> | 2014-02-06 14:00:59 -0800 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2014-02-07 00:01:40 +0000 |
commit | 7a653e515603af12b1a8c369b00081665c6f41b0 (patch) | |
tree | 7cb5d4b2086ed5d87b262ebbabb1fef66f6edd8b /pkgs/os-specific/linux/guvcview | |
parent | f5de6b8fc83bd00032db3411350561c0efac127c (diff) |
add guvcview package
Diffstat (limited to 'pkgs/os-specific/linux/guvcview')
-rw-r--r-- | pkgs/os-specific/linux/guvcview/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/guvcview/default.nix b/pkgs/os-specific/linux/guvcview/default.nix new file mode 100644 index 0000000000000..6e4a2caba18d8 --- /dev/null +++ b/pkgs/os-specific/linux/guvcview/default.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchgit, intltool, autoreconfHook, gettext, pkgconfig +, gtk3, portaudio, libpng, SDL, ffmpeg, udev, libusb1, libv4l, alsaLib }: + +stdenv.mkDerivation rec { + version = "1.7.2"; + rev = "ab84b0b1ed358f0504e1218a0ef792a02b307af8"; + name = "guvcview-${version}_${rev}"; + + src = fetchgit { + inherit rev; + url = "git://git.code.sf.net/p/guvcview/git-master"; + sha256 = "08cpbxq3dh2mlsgzk5dj3vfrgap4q281n9h6xzpbsvyifcj1a9n1"; + }; + + buildInputs = + [ SDL + alsaLib + autoreconfHook + ffmpeg + gtk3 + intltool + libusb1 + libv4l + pkgconfig + portaudio + udev + ]; + + preConfigure = '' + ./bootstrap.sh + ''; + + meta = { + description = "A simple interface for devices supported by the linux UVC driver"; + homepage = http://guvcview.sourceforge.net; + maintainers = [ stdenv.lib.maintainers.coconnor ]; + platforms = stdenv.lib.platforms.linux; + }; +} |