mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
Merge pull request #40225 from brian-dawn/brian/add-librealsense
librealsense: init at 2.11.0
This commit is contained in:
commit
6f8cfae6c9
@ -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";
|
||||||
|
33
pkgs/development/libraries/librealsense/default.nix
Normal file
33
pkgs/development/libraries/librealsense/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user