1{ lib
2, anytree
3, buildPythonPackage
4, fetchPypi
5, pytestCheckHook
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 = [
23 poetry-core
24 ];
25
26 propagatedBuildInputs = [
27 anytree
28 ];
29
30 # https://github.com/c0fec0de/pyebus/issues/3
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "pyebus"
35 ];
36
37 meta = with lib; {
38 description = "Pythonic Interface to EBUS Daemon (ebusd)";
39 homepage = "https://github.com/c0fec0de/pyebus";
40 license = licenses.mit;
41 maintainers = with maintainers; [ fab ];
42 };
43}