diff --git a/pkgs/development/python-modules/pyebus/default.nix b/pkgs/development/python-modules/pyebus/default.nix new file mode 100644 index 000000000000..d4c8658673a0 --- /dev/null +++ b/pkgs/development/python-modules/pyebus/default.nix @@ -0,0 +1,43 @@ +{ lib +, anytree +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, poetry-core +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pyebus"; + version = "1.2.4"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + sha256 = "i+p40s9SXey1lfXWW+PiXsA1kUF4o6Rk7QLmQ2ljN6g="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + anytree + ]; + + # https://github.com/c0fec0de/pyebus/issues/3 + doCheck = false; + + pythonImportsCheck = [ + "pyebus" + ]; + + meta = with lib; { + description = "Pythonic Interface to EBUS Daemon (ebusd)"; + homepage = "https://github.com/c0fec0de/pyebus"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 87b06b9eb148..e7d22d28fcac 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6370,6 +6370,8 @@ in { pydyf = callPackage ../development/python-modules/pydyf { }; + pyebus = callPackage ../development/python-modules/pyebus { }; + pyechonest = callPackage ../development/python-modules/pyechonest { }; pyeclib = callPackage ../development/python-modules/pyeclib { };