My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/samsungctl/default.nix

30 lines
617 B

{ lib, buildPythonPackage, fetchPypi
, websocket-client
}:
buildPythonPackage rec {
pname = "samsungctl";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0ipz3fd65rqkxlb02sql0awc3vnslrwb2pfrsnpfnf8bfgxpbh9g";
};
propagatedBuildInputs = [
websocket-client
];
# 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 ];
};
}