depot/third_party/nixpkgs/pkgs/development/python-modules/samsungctl/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

36 lines
713 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
# extra: websocket
, websocket-client
}:
buildPythonPackage rec {
pname = "samsungctl";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0ipz3fd65rqkxlb02sql0awc3vnslrwb2pfrsnpfnf8bfgxpbh9g";
};
passthru.extras-require = {
websocket = [
websocket-client
];
# interactive_ui requires curses package
};
# no tests
doCheck = false;
pythonImportsCheck = [ "samsungctl" ];
meta = with lib; {
description = "Remote control Samsung televisions via a TCP/IP connection";
homepage = "https://github.com/Ape/samsungctl";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}