Merge pull request #159203 from fabaff/temescal

This commit is contained in:
Martin Weinelt 2022-02-11 12:10:34 +01:00 committed by GitHub
commit 3aa3fc9b4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 1 deletions

View file

@ -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 ];
};
}

View file

@ -459,7 +459,7 @@
"launch_library" = ps: with ps; [ pylaunches ]; "launch_library" = ps: with ps; [ pylaunches ];
"lcn" = ps: with ps; [ pypck ]; "lcn" = ps: with ps; [ pypck ];
"lg_netcast" = ps: with ps; [ pylgnetcast ]; "lg_netcast" = ps: with ps; [ pylgnetcast ];
"lg_soundbar" = ps: with ps; [ ]; # missing inputs: temescal "lg_soundbar" = ps: with ps; [ temescal ];
"life360" = ps: with ps; [ life360 ]; "life360" = ps: with ps; [ life360 ];
"lifx" = ps: with ps; [ aiolifx aiolifx-effects ]; "lifx" = ps: with ps; [ aiolifx aiolifx-effects ];
"lifx_cloud" = ps: with ps; [ ]; "lifx_cloud" = ps: with ps; [ ];

View file

@ -9656,6 +9656,8 @@ in {
telfhash = callPackage ../development/python-modules/telfhash { }; telfhash = callPackage ../development/python-modules/telfhash { };
temescal = callPackage ../development/python-modules/temescal { };
tempest = callPackage ../development/python-modules/tempest { }; tempest = callPackage ../development/python-modules/tempest { };
tempita = callPackage ../development/python-modules/tempita { }; tempita = callPackage ../development/python-modules/tempita { };