1{ lib
2, buildPythonPackage
3, fetchgit
4, isPy3k
5, pyusb
6, pybluez
7, pytest
8, git
9}:
10
11buildPythonPackage rec {
12 version = "3.0.1";
13 pname = "nxt-python";
14 format = "setuptools";
15
16 src = fetchgit {
17 url = "https://github.com/schodet/nxt-python.git";
18 rev = version;
19 sha256 = "004c0dr6767bjiddvp0pchcx05falhjzj33rkk03rrl0ha2nhxvz";
20 };
21
22 propagatedBuildInputs = [ pyusb pybluez pytest git ];
23
24 meta = with lib; {
25 description = "Python driver/interface for Lego Mindstorms NXT robot";
26 homepage = "https://github.com/schodet/nxt-python";
27 license = licenses.gpl3;
28 maintainers = with maintainers; [ ibizaman ];
29 };
30}