mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
libuvc: init at unstable-2020-11-29
This commit is contained in:
parent
0425b4c1d1
commit
c837e24f9e
30
pkgs/development/libraries/libuvc/default.nix
Normal file
30
pkgs/development/libraries/libuvc/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, libusb1
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libuvc";
|
||||
version = "unstable-2020-11-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "5cddef71b17d41f7e98875a840c50d9704c3d2b2";
|
||||
sha256 = "0kranb0x1k5qad8rwxnn1w9963sbfj2cfzdgpfmlivb04544m2j7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ libusb1 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://ken.tossell.net/libuvc/";
|
||||
description = "Cross-platform library for USB video devices";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
@ -14942,6 +14942,8 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreServices;
|
||||
};
|
||||
|
||||
libuvc = callPackage ../development/libraries/libuvc { };
|
||||
|
||||
libv4l = lowPrio (v4l-utils.override {
|
||||
withUtils = false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user