blob: 8dcc7e20b3d2a8b526fcc08c1204703f01a5f5f5 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "tuyaha";
version = "0.0.11";
format = "setuptools";
src = fetchFromGitHub {
owner = "PaulAnnekov";
repo = "tuyaha";
rev = version;
hash = "sha256-PTIw/2NRHHiqV6E5oj2pMeGq1uApevKfT2n5zV8AQmM=";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "tuyaha" ];
meta = {
description = "Python module with the Tuya API";
homepage = "https://github.com/PaulAnnekov/tuyaha";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}
|