8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
32 lines
656 B
Nix
32 lines
656 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, requests
|
|
, websocket-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "samsungtvws";
|
|
version = "2.5.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-AFCN1b80GZ24g3oWe1qqc72yWQy4+/sorL8zwOYM7vo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
websocket-client
|
|
requests
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "samsungtvws" ];
|
|
|
|
meta = with lib; {
|
|
description = "Samsung Smart TV WS API wrapper";
|
|
homepage = "https://github.com/xchwarze/samsung-tv-ws-api";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|