1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "pyedimax";
10 version = "0.2.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1i3gr5vygqh2ryg67sl13aaql7nvf3nbybrg54628r4g7911b5rk";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Project has no tests
21 doCheck = false;
22 pythonImportsCheck = [ "pyedimax" ];
23
24 meta = with lib; {
25 description = "Python library for interfacing with the Edimax smart plugs";
26 homepage = "https://github.com/andreipop2005/pyedimax";
27 license = with licenses; [ mit ];
28 maintainers = with maintainers; [ fab ];
29 };
30}