depot/third_party/nixpkgs/pkgs/development/python-modules/nxt-python/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

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