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