mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
Merge pull request #120278 from fabaff/pyotgw
python3packages.pyotgw: unstable-2021-03-25
This commit is contained in:
commit
7d82378949
41
pkgs/development/python-modules/pyotgw/default.nix
Normal file
41
pkgs/development/python-modules/pyotgw/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pyserial-asyncio
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyotgw";
|
||||||
|
version = "unstable-2021-03-25";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mvn23";
|
||||||
|
repo = pname;
|
||||||
|
rev = "1854ef4ffb907524ff457ba558e4979ba7fabd02";
|
||||||
|
sha256 = "0zckd85dmzpz0drcgx16ly6kzh1f1slcxb9lrcf81wh1p4q9bcaa";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyserial-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest-asyncio
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [ "tests" ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyotgw" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python module to interact the OpenTherm Gateway";
|
||||||
|
homepage = "https://github.com/mvn23/pyotgw";
|
||||||
|
license = with licenses; [ gpl3Plus ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -598,7 +598,7 @@
|
|||||||
"openhome" = ps: with ps; [ openhomedevice ];
|
"openhome" = ps: with ps; [ openhomedevice ];
|
||||||
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
"opensensemap" = ps: with ps; [ opensensemap-api ];
|
||||||
"opensky" = ps: with ps; [ ];
|
"opensky" = ps: with ps; [ ];
|
||||||
"opentherm_gw" = ps: with ps; [ ]; # missing inputs: pyotgw
|
"opentherm_gw" = ps: with ps; [ pyotgw ];
|
||||||
"openuv" = ps: with ps; [ pyopenuv ];
|
"openuv" = ps: with ps; [ pyopenuv ];
|
||||||
"openweathermap" = ps: with ps; [ pyowm ];
|
"openweathermap" = ps: with ps; [ pyowm ];
|
||||||
"opnsense" = ps: with ps; [ pyopnsense ];
|
"opnsense" = ps: with ps; [ pyopnsense ];
|
||||||
|
@ -336,6 +336,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"omnilogic"
|
"omnilogic"
|
||||||
"ondilo_ico"
|
"ondilo_ico"
|
||||||
"openerz"
|
"openerz"
|
||||||
|
"opentherm_gw"
|
||||||
"ozw"
|
"ozw"
|
||||||
"panel_custom"
|
"panel_custom"
|
||||||
"panel_iframe"
|
"panel_iframe"
|
||||||
|
@ -5861,6 +5861,8 @@ in {
|
|||||||
inherit (pkgs) lz4;
|
inherit (pkgs) lz4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pyotgw = callPackage ../development/python-modules/pyotgw { };
|
||||||
|
|
||||||
pyotp = callPackage ../development/python-modules/pyotp { };
|
pyotp = callPackage ../development/python-modules/pyotp { };
|
||||||
|
|
||||||
pyowm = callPackage ../development/python-modules/pyowm { };
|
pyowm = callPackage ../development/python-modules/pyowm { };
|
||||||
|
Loading…
Reference in New Issue
Block a user