1{
2 lib,
3 anytree,
4 buildPythonPackage,
5 fetchPypi,
6 poetry-core,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "pyebus";
12 version = "1.4.0";
13 format = "pyproject";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-6ooOSJAIi8vYmCjDHnbMGQJfPqPmzA5thDSg+iM7T+8=";
20 };
21
22 nativeBuildInputs = [ poetry-core ];
23
24 propagatedBuildInputs = [ anytree ];
25
26 # https://github.com/c0fec0de/pyebus/issues/3
27 doCheck = false;
28
29 pythonImportsCheck = [ "pyebus" ];
30
31 meta = with lib; {
32 description = "Pythonic Interface to EBUS Daemon (ebusd)";
33 homepage = "https://github.com/c0fec0de/pyebus";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}