about summary refs log tree commit diff
path: root/pkgs/development/python-modules/temescal/default.nix
blob: 2c19ab2844ad8e34fef4a67aaf44ac40417d177c (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
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pycryptodome
}:

buildPythonPackage rec {
  pname = "temescal";
  version = "0.5";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-MfTftheNj8zI3iXIIJU+jy9xikvX9eO58LA0NCMJBnY=";
  };

  propagatedBuildInputs = [
    pycryptodome
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "temescal"
  ];

  meta = with lib; {
    description = "Module for interacting with LG speaker systems";
    homepage = "https://github.com/google/python-temescal";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}