about summary refs log tree commit diff
path: root/third_party/python/broadlink/default.nix
blob: e316d83d1d712452bac52701ff088f46c7161615 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 ];
}))