tvl-depot/third_party/python/broadlink/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
401 B
Nix
Raw Normal View History

# 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 ];
}))