1{ lib, buildPythonPackage, fetchPypi
2, websocket-client
3}:
4
5buildPythonPackage rec {
6 pname = "samsungctl";
7 version = "0.7.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "0ipz3fd65rqkxlb02sql0awc3vnslrwb2pfrsnpfnf8bfgxpbh9g";
12 };
13
14 propagatedBuildInputs = [
15 websocket-client
16 ];
17
18 # no tests
19 doCheck = false;
20
21 pythonImportsCheck = [ "samsungctl" ];
22
23 meta = with lib; {
24 description = "Remote control Samsung televisions via a TCP/IP connection";
25 homepage = "https://github.com/Ape/samsungctl";
26 license = licenses.mit;
27 maintainers = with maintainers; [ hexa ];
28 };
29}