nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

freenect: cosmetic (2 space indents)

+17 -16
+17 -16
pkgs/development/libraries/freenect/default.nix
··· 1 1 { stdenv, fetchzip, cmake, libusb, pkgconfig, freeglut, mesa, libXi, libXmu }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "freenect-${version}"; 5 - version = "0.5.2"; 6 - src = fetchzip { 7 - url = "https://github.com/OpenKinect/libfreenect/archive/v${version}.tar.gz"; 8 - sha256 = "04p4q19fkh97bn7kf0xsk6mrig2aj10i3s9z6hdrr70l6dfpf4w9"; 9 - }; 4 + name = "freenect-${version}"; 5 + version = "0.5.2"; 10 6 11 - buildInputs = [ libusb freeglut mesa libXi libXmu ]; 12 - nativeBuildInputs = [ cmake pkgconfig ]; 7 + src = fetchzip { 8 + url = "https://github.com/OpenKinect/libfreenect/archive/v${version}.tar.gz"; 9 + sha256 = "04p4q19fkh97bn7kf0xsk6mrig2aj10i3s9z6hdrr70l6dfpf4w9"; 10 + }; 13 11 14 - meta = { 15 - description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X"; 16 - inherit version; 17 - homepage = http://openkinect.org; 18 - license = with stdenv.lib.licenses; [ gpl2 asl20 ]; 19 - maintainers = with stdenv.lib.maintainers; [ bennofs ]; 20 - platforms = stdenv.lib.platforms.linux; 21 - }; 12 + buildInputs = [ libusb freeglut mesa libXi libXmu ]; 13 + nativeBuildInputs = [ cmake pkgconfig ]; 14 + 15 + meta = { 16 + description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X"; 17 + inherit version; 18 + homepage = http://openkinect.org; 19 + license = with stdenv.lib.licenses; [ gpl2 asl20 ]; 20 + maintainers = with stdenv.lib.maintainers; [ bennofs ]; 21 + platforms = stdenv.lib.platforms.linux; 22 + }; 22 23 }