tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
freenect: cosmetic (2 space indents)
Bjørn Forsman
10 years ago
c54d939d
eec01135
+17
-16
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
freenect
default.nix
+17
-16
pkgs/development/libraries/freenect/default.nix
reviewed
···
1
1
{ stdenv, fetchzip, cmake, libusb, pkgconfig, freeglut, mesa, libXi, libXmu }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "freenect-${version}";
5
5
-
version = "0.5.2";
6
6
-
src = fetchzip {
7
7
-
url = "https://github.com/OpenKinect/libfreenect/archive/v${version}.tar.gz";
8
8
-
sha256 = "04p4q19fkh97bn7kf0xsk6mrig2aj10i3s9z6hdrr70l6dfpf4w9";
9
9
-
};
4
4
+
name = "freenect-${version}";
5
5
+
version = "0.5.2";
10
6
11
11
-
buildInputs = [ libusb freeglut mesa libXi libXmu ];
12
12
-
nativeBuildInputs = [ cmake pkgconfig ];
7
7
+
src = fetchzip {
8
8
+
url = "https://github.com/OpenKinect/libfreenect/archive/v${version}.tar.gz";
9
9
+
sha256 = "04p4q19fkh97bn7kf0xsk6mrig2aj10i3s9z6hdrr70l6dfpf4w9";
10
10
+
};
13
11
14
14
-
meta = {
15
15
-
description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X";
16
16
-
inherit version;
17
17
-
homepage = http://openkinect.org;
18
18
-
license = with stdenv.lib.licenses; [ gpl2 asl20 ];
19
19
-
maintainers = with stdenv.lib.maintainers; [ bennofs ];
20
20
-
platforms = stdenv.lib.platforms.linux;
21
21
-
};
12
12
+
buildInputs = [ libusb freeglut mesa libXi libXmu ];
13
13
+
nativeBuildInputs = [ cmake pkgconfig ];
14
14
+
15
15
+
meta = {
16
16
+
description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X";
17
17
+
inherit version;
18
18
+
homepage = http://openkinect.org;
19
19
+
license = with stdenv.lib.licenses; [ gpl2 asl20 ];
20
20
+
maintainers = with stdenv.lib.maintainers; [ bennofs ];
21
21
+
platforms = stdenv.lib.platforms.linux;
22
22
+
};
22
23
}