Skip to content

Commit c0549b3

Browse files
authored
python3Packages.thinkingcleaner: init at 0.0.3 (#437408)
2 parents ed63069 + 62b5b31 commit c0549b3

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
requests,
6+
setuptools,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "pythinkingcleaner";
11+
version = "0.0.3";
12+
pyproject = true;
13+
14+
src = fetchFromGitHub {
15+
owner = "TheRealLink";
16+
repo = "pythinkingcleaner";
17+
tag = version;
18+
hash = "sha256-YaHBZwJvgI3uFkFtZ4KWrKKGRPuNhBBrhCvGC65Jsks=";
19+
};
20+
21+
build-system = [ setuptools ];
22+
23+
dependencies = [ requests ];
24+
25+
# Package has no tests
26+
doCheck = false;
27+
28+
pythonImportsCheck = [ "pythinkingcleaner" ];
29+
30+
meta = {
31+
description = "Library to control ThinkingCleaner devices";
32+
homepage = "https://github.com/TheRealLink/pythinkingcleaner";
33+
changelog = "https://github.com/TheRealLink/pythinkingcleaner/releases/tag/${version}";
34+
license = lib.licenses.mit;
35+
maintainers = [ lib.maintainers.jamiemagee ];
36+
};
37+
}

pkgs/servers/home-assistant/component-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6024,7 +6024,8 @@
60246024
];
60256025
"thinkingcleaner" =
60266026
ps: with ps; [
6027-
]; # missing inputs: pythinkingcleaner
6027+
pythinkingcleaner
6028+
];
60286029
"thomson" =
60296030
ps: with ps; [
60306031
];

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14559,6 +14559,8 @@ self: super: with self; {
1455914559

1456014560
pytestcache = callPackage ../development/python-modules/pytestcache { };
1456114561

14562+
pythinkingcleaner = callPackage ../development/python-modules/pythinkingcleaner { };
14563+
1456214564
python-aodhclient = callPackage ../development/python-modules/python-aodhclient { };
1456314565

1456414566
python-apt = callPackage ../development/python-modules/python-apt { };

0 commit comments

Comments
 (0)