Merge pull request #116113 from r-ryantm/auto-update/python3.8-broadlink

This commit is contained in:
Martin Weinelt 2021-03-13 03:33:10 +01:00 committed by GitHub
commit c2738e5ada
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,29 @@
{ lib, fetchPypi, buildPythonPackage { lib
, cryptography, pyaes, pycrc }: , buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "broadlink"; pname = "broadlink";
version = "0.16.0"; version = "0.17.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "637dabc6f47b283b72bc521322554462da7a247f04614e458d65df8574d03a41"; sha256 = "bfd1ff007d0d1187c17ae52be938afc8137fbd1ed6a794426e975df10d167571";
}; };
postPatch = '' propagatedBuildInputs = [
substituteInPlace setup.py \ cryptography
--replace pyaes==1.6.0 pyaes ];
'';
propagatedBuildInputs = [ cryptography pyaes pycrc ];
# no tests available # no tests available
doCheck = false; doCheck = false;
pythonImportsCheck = [
"broadlink"
];
meta = with lib; { meta = with lib; {
description = "Python API for controlling Broadlink IR controllers"; description = "Python API for controlling Broadlink IR controllers";
homepage = "https://github.com/mjg59/python-broadlink"; homepage = "https://github.com/mjg59/python-broadlink";