3e7541c14f
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
43 lines
765 B
Nix
43 lines
765 B
Nix
{ lib
|
|
, anytree
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, poetry-core
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyebus";
|
|
version = "1.4.0";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|