blob: 4dd8a481707ad57b42c4d5924d9e5c14a79d7ed9 (
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,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyedimax";
version = "0.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-M5cVQjqPZCQMKS8vv+xw2x6KlRqB6mOezwLi53fJb8Q=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pyedimax" ];
meta = {
description = "Python library for interfacing with the Edimax smart plugs";
homepage = "https://github.com/andreipop2005/pyedimax";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|