about summary refs log tree commit diff
path: root/third_party/python/broadlink/default.nix
blob: b1dcf300811d4b795d8551bbcf08a83a3d127289 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Python package for controlling the Broadlink RM Pro Infrared
# controller.
#
# https://github.com/mjg59/python-broadlink
{ pkgs, lib, ... }:

let
  inherit (pkgs) fetchFromGitHub;
  inherit (pkgs.python3Packages) buildPythonPackage cryptography;
in
buildPythonPackage (lib.fix (self: {
  pname = "python-broadlink";
  version = "0.13.2";
  src = ./.;
  propagatedBuildInputs = [ cryptography ];
}))