nixpkgs/pkgs/development/libraries/librealsense/default.nix
R. RyanTM 28f43485d0 librealsense: 2.12.0 -> 2.13.0 (#42698)
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.13.0 with grep in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0
- directory tree listing: https://gist.github.com/5d0b448eca0c4918bc99445ebc598b61
- du listing: https://gist.github.com/76e36ff396b95b2f83cb1c462ea8d3be
2018-07-05 00:23:50 +02:00

34 lines
800 B
Nix

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