Merge pull request #40225 from brian-dawn/brian/add-librealsense

librealsense: init at 2.11.0
This commit is contained in:
Matthew Justin Bauer 2018-05-12 11:47:06 -05:00 committed by GitHub
commit 6f8cfae6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View File

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

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