about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyephember/default.nix
blob: 7efe8561c88347e51640091260b46f354c02776b (plain) (blame)
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
35
36
37
38
{
  lib,
  buildPythonPackage,
  fetchPypi,
  paho-mqtt,
  pythonOlder,
  requests,
}:

buildPythonPackage rec {
  pname = "pyephember";
  version = "0.4.0";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-j3SftxXKs9EZwdio26W5U0y5owH4yTteS4RUmzkZkoE=";
  };

  propagatedBuildInputs = [
    paho-mqtt
    requests
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "pyephember" ];

  meta = with lib; {
    description = "Python client to the EPH Control Systems Ember API";
    homepage = "https://github.com/ttroy50/pyephember";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}