summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/nxt-python/default.nix
blob: 880111a4ed758c6ef21d27ab283780900be32ce0 (plain)
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
{ lib
, buildPythonPackage
, fetchgit
, isPy3k
, pyusb
, pybluez
, pytest
, git
}:

buildPythonPackage rec {
  version = "3.0.1";
  pname = "nxt-python";
  format = "setuptools";

  src = fetchgit {
    url = "https://github.com/schodet/nxt-python.git";
    rev = version;
    sha256 = "004c0dr6767bjiddvp0pchcx05falhjzj33rkk03rrl0ha2nhxvz";
  };

  propagatedBuildInputs = [ pyusb pybluez pytest git ];

  meta = with lib; {
    description = "Python driver/interface for Lego Mindstorms NXT robot";
    homepage = "https://github.com/schodet/nxt-python";
    license = licenses.gpl3;
    maintainers = with maintainers; [ ibizaman ];
  };
}