diff options
Diffstat (limited to 'pkgs/development/python-modules/temescal/default.nix')
-rw-r--r-- | pkgs/development/python-modules/temescal/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/temescal/default.nix b/pkgs/development/python-modules/temescal/default.nix new file mode 100644 index 0000000000000..429b0a23d1877 --- /dev/null +++ b/pkgs/development/python-modules/temescal/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, pycryptodome +}: + +buildPythonPackage rec { + pname = "temescal"; + version = "0.3"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-V1wsncIm4f6NPa6lwlO9pkDIFBG1K3VhmOQCwyrPGm4="; + }; + + propagatedBuildInputs = [ + pycryptodome + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "temescal" + ]; + + meta = with lib; { + description = "Module for interacting with LG speaker systems"; + homepage = "https://github.com/google/python-temescal"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} |