nixpkgs/pkgs/development/python-modules/nxt-python/default.nix
ibizaman fb17a97f17 nxt-python: init at 3.0.1
This is the latest version that works with python3.
2022-05-24 08:46:14 -07:00

31 lines
643 B
Nix

{ 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 ];
};
}