1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/freenect/default.nix
2015-09-02 10:28:16 +02:00

24 lines
770 B
Nix

{ stdenv, fetchzip, cmake, libusb, pkgconfig, freeglut, mesa, libXi, libXmu }:
stdenv.mkDerivation rec {
name = "freenect-${version}";
version = "0.5.2";
src = fetchzip {
url = "https://github.com/OpenKinect/libfreenect/archive/v${version}.tar.gz";
sha256 = "04p4q19fkh97bn7kf0xsk6mrig2aj10i3s9z6hdrr70l6dfpf4w9";
};
buildInputs = [ libusb freeglut mesa libXi libXmu ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = {
description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X";
inherit version;
homepage = http://openkinect.org;
license = with stdenv.lib.licenses; [ gpl2 asl20 ];
maintainers = with stdenv.lib.maintainers; [ bennofs ];
platforms = stdenv.lib.platforms.linux;
};
}