Merge pull request #128664 from dotlambda/pyrfxtrx-init
This commit is contained in:
commit
7f27ba9836
33
pkgs/development/python-modules/pyrfxtrx/default.nix
Normal file
33
pkgs/development/python-modules/pyrfxtrx/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrfxtrx";
|
||||
version = "0.27.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "pyRFXtrx";
|
||||
rev = version;
|
||||
sha256 = "0nzgy56b2v3bnn9idlb67qkzj4cj5j9v1436ri1y305fqwjy48nm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to communicate with the RFXtrx family of devices";
|
||||
homepage = "https://github.com/Danielhiversen/pyRFXtrx";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -696,7 +696,7 @@
|
||||
"rest" = ps: with ps; [ jsonpath xmltodict ];
|
||||
"rest_command" = ps: with ps; [ ];
|
||||
"rflink" = ps: with ps; [ rflink ];
|
||||
"rfxtrx" = ps: with ps; [ ]; # missing inputs: pyRFXtrx
|
||||
"rfxtrx" = ps: with ps; [ pyrfxtrx ];
|
||||
"ring" = ps: with ps; [ ha-ffmpeg ring-doorbell ];
|
||||
"ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
|
||||
"risco" = ps: with ps; [ pyrisco ];
|
||||
|
@ -625,6 +625,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"rest"
|
||||
"rest_command"
|
||||
"rflink"
|
||||
"rfxtrx"
|
||||
"ring"
|
||||
"risco"
|
||||
"rituals_perfume_genie"
|
||||
|
@ -5341,6 +5341,8 @@ in {
|
||||
|
||||
pynx584 = callPackage ../development/python-modules/pynx584 { };
|
||||
|
||||
pyrfxtrx = callPackage ../development/python-modules/pyrfxtrx { };
|
||||
|
||||
pyrogram = callPackage ../development/python-modules/pyrogram { };
|
||||
|
||||
pysbd = callPackage ../development/python-modules/pysbd { };
|
||||
|
Loading…
Reference in New Issue
Block a user