depot/third_party/nixpkgs/pkgs/development/python-modules/pyebus/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

37 lines
735 B
Nix

{
lib,
anytree,
buildPythonPackage,
fetchPypi,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyebus";
version = "1.4.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-6ooOSJAIi8vYmCjDHnbMGQJfPqPmzA5thDSg+iM7T+8=";
};
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 ];
};
}