depot/third_party/nixpkgs/pkgs/development/python-modules/samsungtvws/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

32 lines
669 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, requests
, websocket-client
}:
buildPythonPackage rec {
pname = "samsungtvws";
version = "1.7.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "431af8348164cbb56b62492c3fde7ab81911b7905c8009580ccc54bd3f50f7ee";
};
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 ];
};
}