summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyedimax/default.nix
blob: 03229b30bdddd698554047056d3f1edaeda75aa2 (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
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:

buildPythonPackage rec {
  pname = "pyedimax";
  version = "0.2.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1i3gr5vygqh2ryg67sl13aaql7nvf3nbybrg54628r4g7911b5rk";
  };

  propagatedBuildInputs = [ requests ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "pyedimax" ];

  meta = with lib; {
    description = "Python library for interfacing with the Edimax smart plugs";
    homepage = "https://github.com/andreipop2005/pyedimax";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}