Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libuvc / default.nix
blobe7ff4bb7f288d8d46b1c2f264d963bbbfc077f25
1 { lib, stdenv
2 , fetchFromGitHub
3 , cmake
4 , pkg-config
5 , libusb1
6 }:
8 stdenv.mkDerivation rec {
9   pname = "libuvc";
10   version = "unstable-2020-11-29";
12   src = fetchFromGitHub {
13     owner = pname;
14     repo = pname;
15     rev = "5cddef71b17d41f7e98875a840c50d9704c3d2b2";
16     sha256 = "0kranb0x1k5qad8rwxnn1w9963sbfj2cfzdgpfmlivb04544m2j7";
17   };
19   nativeBuildInputs = [ cmake pkg-config ];
21   buildInputs = [ libusb1 ];
23   meta = with lib; {
24     homepage = "https://ken.tossell.net/libuvc/";
25     description = "Cross-platform library for USB video devices";
26     platforms = platforms.linux;
27     license = licenses.lgpl21Plus;
28     maintainers = with maintainers; [ prusnak ];
29   };