nixpkgs/pkgs/development/libraries/librealsense/default.nix
R. RyanTM 96ad842c47 librealsense: 2.11.0 -> 2.11.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/librealsense/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 2.11.1 with grep in /nix/store/qyy6s8nbpifg33h0hvnpf3fizwdycpvz-librealsense-2.11.1
- directory tree listing: https://gist.github.com/020e7e6cfc0e9cc89911d68349e47bc7
- du listing: https://gist.github.com/dfc212b0151822573970980eb31f8289
2018-05-21 09:15:41 +00:00

34 lines
800 B
Nix

{ stdenv, fetchFromGitHub, cmake, libusb, ninja, pkgconfig}:
stdenv.mkDerivation rec {
name = "librealsense-${version}";
version = "2.11.1";
src = fetchFromGitHub {
owner = "IntelRealSense";
repo = "librealsense";
rev = "v${version}";
sha256 = "1r27pdisg4hl4x23lrmykqfdc5agrc4pi161mhvzd1vjfkjrxbid";
};
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;
};
}