@@ -1,22 +1,22 @@
1−{ stdenv, python2Packages, fetchFromGitHub }:
1+{ stdenv, python3Packages, fetchFromGitHub }:
3−python2Packages.buildPythonApplication {
3+python3Packages.buildPythonApplication {
4 pname = "broadlink-cli";
4 pname = "broadlink-cli";
5− inherit (python2Packages.broadlink) version;
5+ inherit (python3Packages.broadlink) version;
7 # the tools are available as part of the source distribution from GH but
7 # the tools are available as part of the source distribution from GH but
8 # not pypi, so we have to fetch them here.
8 # not pypi, so we have to fetch them here.
9 src = fetchFromGitHub {
9 src = fetchFromGitHub {
10 owner = "mjg59";
10 owner = "mjg59";
11 repo = "python-broadlink";
11 repo = "python-broadlink";
12− # this rev is version 0.9
12+ # this rev is version 0.15.0
13− rev = "766b7b00fb1cec868e3d5fca66f1aada208959ce";
13+ rev = "99add9e6feea6e47be4f3a58783556d7838b759c";
14− sha256 = "0j0idzxmpwkb1lbgvi9df2hbxafm5hxjc6mgg5481lq7z4z1r4nb";
14+ sha256 = "1q1q62brvfjcb18i0j4ca5cxqzjwv1iywdrdby0yjqa4wm6ywq6b";
17 format = "other";
17 format = "other";
19− propagatedBuildInputs = with python2Packages; [
19+ propagatedBuildInputs = with python3Packages; [
@@ -32,6 +32,6 @@ python2Packages.buildPythonApplication {
32 meta = with stdenv.lib; {
32 meta = with stdenv.lib; {
33 description = "Tools for interfacing with Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs";
33 description = "Tools for interfacing with Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs";
34 maintainers = with maintainers; [ peterhoeg ];
34 maintainers = with maintainers; [ peterhoeg ];
35− inherit (python2Packages.broadlink.meta) homepage license;
35+ inherit (python3Packages.broadlink.meta) homepage license;