Skip to content

Commit

Permalink
uvcdynctrl: init at 0.2 (#30806)
Browse files Browse the repository at this point in the history
* uvcdynctrl: init at 0.3.0

* uvcdynctrl: nitpicks
  • Loading branch information
puffnfresh authored and Mic92 committed Oct 26, 2017
1 parent 31db63b commit ed0f558
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/os-specific/linux/uvcdynctrl/default.nix
@@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libxml2 }:

stdenv.mkDerivation rec {
version = "0.3.0";
name = "uvcdynctrl-${version}";

src = fetchFromGitHub {
owner = "cshorler";
repo = "webcam-tools";
rev = "bee2ef3c9e350fd859f08cd0e6745871e5f55cb9";
sha256 = "0s15xxgdx8lnka7vi8llbf6b0j4rhbjl6yp0qxaihysf890xj73s";
};

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libxml2 ];

prePatch = ''
substituteInPlace uvcdynctrl/CMakeLists.txt \
--replace "/etc/udev" "$out/etc/udev" \
--replace "/lib/udev" "$out/lib/udev"
'';

meta = with stdenv.lib; {
description = "A simple interface for devices supported by the linux UVC driver";
homepage = http://guvcview.sourceforge.net;
license = licenses.gpl3Plus;
maintainers = [ maintainers.puffnfresh ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -17003,6 +17003,8 @@ with pkgs;
else null;
};

uvcdynctrl = callPackage ../os-specific/linux/uvcdynctrl { };

vkeybd = callPackage ../applications/audio/vkeybd {};

vlc = callPackage ../applications/video/vlc {
Expand Down

0 comments on commit ed0f558

Please sign in to comment.