3
0
Fork 0
forked from mirrors/nixpkgs

librealsense: init at 2.11.0

This commit is contained in:
Brian Dawn 2018-05-08 13:53:23 -05:00
parent 6db7f92cc2
commit 8a9402c207
3 changed files with 40 additions and 0 deletions

View file

@ -676,6 +676,11 @@
github = "bramd";
name = "Bram Duvigneau";
};
brian-dawn = {
email = "brian.t.dawn@gmail.com";
github = "brian-dawn";
name = "Brian Dawn";
};
bstrik = {
email = "dutchman55@gmx.com";
github = "bstrik";

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, cmake, libusb, ninja, pkgconfig}:
stdenv.mkDerivation rec {
name = "librealsense-${version}";
version = "2.11.0";
src = fetchFromGitHub {
owner = "IntelRealSense";
repo = "librealsense";
rev = "v${version}";
sha256 = "11vzs2m6jh9v1xbffr2k541pymmih6g4w641mp8rll8qzqfh89i0";
};
buildInputs = [
libusb
];
nativeBuildInputs = [
cmake
ninja
pkgconfig
];
cmakeFlags = [ "-DBUILD_EXAMPLES=false" ];
meta = with stdenv.lib; {
description = "A cross-platform library for Intel® RealSense depth cameras (D400 series and the SR300)";
homepage = https://github.com/IntelRealSense/librealsense;
license = licenses.asl20;
maintainers = with maintainers; [ brian-dawn ];
platforms = platforms.unix;
};
}

View file

@ -13801,6 +13801,8 @@ with pkgs;
libraw1394 = callPackage ../development/libraries/libraw1394 { };
librealsense = callPackage ../development/libraries/librealsense { };
libsass = callPackage ../development/libraries/libsass { };
libsexy = callPackage ../development/libraries/libsexy { };