summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyebus/default.nix
blob: a0f14b4df817fe7ab6aa32d74347f93c0550cd2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  lib,
  anytree,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "pyebus";
  version = "1.4.0";
  pyproject = true;

  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 = {
    description = "Pythonic Interface to EBUS Daemon (ebusd)";
    homepage = "https://github.com/c0fec0de/pyebus";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}