From b06b865dccb842d9536dd3bcd1526787cb98af8e Mon Sep 17 00:00:00 2001 From: Michiel Leenaars Date: Sat, 20 Aug 2016 21:31:32 +0200 Subject: [PATCH] pythonPackages.nxt_python: init at unstable-20160819 --- pkgs/top-level/python-packages.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e1cb603e193..1f9a78ebcec 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7513,6 +7513,33 @@ in modules // { }; }; + nxt_python = buildPythonPackage rec { + version = "unstable-20160819"; + pname = "nxt-python"; + name = "${pname}-${version}"; + + propagatedBuildInputs = with self; [ pyusb pybluez pyfantom pkgs.git ]; + disabled = isPy3k; + + src = pkgs.fetchgit { + url = "http://github.com/Eelviny/nxt-python"; + rev = "479e20b7491b28567035f4cee294c4a2af629297"; + sha256 = "0mcsajhgm2wy4iy2lhmyi3xibgmbixbchanzmlhsxk6qyjccn9r9"; + branchName= "pyusb"; + }; + + # Tests fail on Mac dependency + doCheck = false; + + meta = { + 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 ]; + }; + }; + odfpy = buildPythonPackage rec { version = "0.9.6"; name = "odfpy-${version}";