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