8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
32 lines
656 B
Nix
32 lines
656 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, requests
|
|
, websocket-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "samsungtvws";
|
|
version = "2.1.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-b6nlOJgrlUDgsjYzr2nOntPTRWIjh4JUWP+UzsdiqgU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|