add guvcview package
This commit is contained in:
parent
f5de6b8fc8
commit
7a653e5156
39
pkgs/os-specific/linux/guvcview/default.nix
Normal file
39
pkgs/os-specific/linux/guvcview/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -8095,6 +8095,8 @@ let
|
|||||||
|
|
||||||
gv = callPackage ../applications/misc/gv { };
|
gv = callPackage ../applications/misc/gv { };
|
||||||
|
|
||||||
|
guvcview = callPackage ../os-specific/linux/guvcview { };
|
||||||
|
|
||||||
hello = callPackage ../applications/misc/hello/ex-2 { };
|
hello = callPackage ../applications/misc/hello/ex-2 { };
|
||||||
|
|
||||||
herbstluftwm = callPackage ../applications/window-managers/herbstluftwm { };
|
herbstluftwm = callPackage ../applications/window-managers/herbstluftwm { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user