python_openzwave: Fix broken and missing dependencies.

This commit is contained in:
Alex Whitt
2019-11-26 16:59:38 -05:00
parent f373ecec8f
commit 2d00e8d6f3
3 changed files with 25 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, pkgconfig
, systemd, libyaml, openzwave, cython
, systemd, libyaml, openzwave, cython, pyserial
, six, pydispatcher, urwid }:
buildPythonPackage rec {
@@ -17,7 +17,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ systemd libyaml openzwave cython ];
propagatedBuildInputs = [ six urwid pydispatcher ];
propagatedBuildInputs = [ six urwid pydispatcher pyserial ];
# primary location for the .xml files is in /etc/openzwave so we override the
# /usr/local/etc lookup instead as that allows us to dump new .xml files into
@@ -27,6 +27,8 @@ buildPythonPackage rec {
--replace /usr/local/etc/openzwave ${openzwave}/etc/openzwave
'';
patches = [ ./cython.patch ];
# no tests available
doCheck = false;