blob: 38920dc55429d087982e170ef1390bf99d63159a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ lib
, buildPythonPackage
, fetchgit
, isPy3k
, pyusb
, pybluez
, pyfantom
, git
}:
buildPythonPackage {
version = "unstable-20160819";
pname = "nxt-python";
disabled = isPy3k;
src = fetchgit {
url = "https://github.com/Eelviny/nxt-python";
rev = "479e20b7491b28567035f4cee294c4a2af629297";
sha256 = "0mcsajhgm2wy4iy2lhmyi3xibgmbixbchanzmlhsxk6qyjccn9r9";
branchName= "pyusb";
};
propagatedBuildInputs = [ pyusb pybluez pyfantom git ];
# Tests fail on Mac dependency
doCheck = false;
meta = with lib; {
description = "Python driver/interface for Lego Mindstorms NXT robot";
homepage = "https://github.com/Eelviny/nxt-python";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ leenaars ];
};
}
|