Merge pull request #160825 from dotlambda/dynalite-init
python3Packages.dynalite-devices: init at 0.1.46
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, asynctest
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dynalite-devices";
|
||||
version = "0.1.46";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ziv1234";
|
||||
repo = "python-dynalite-devices";
|
||||
rev = "v0.46"; # https://github.com/ziv1234/python-dynalite-devices/issues/2
|
||||
hash = "sha256-Fju2JpFkQBCbOln7r3L+crv82TI2SkdPJ1oaK7PEifo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/^addopts/d' setup.cfg
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dynalite_devices_lib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An unofficial Dynalite DyNET interface creating devices";
|
||||
homepage = "https://github.com/ziv1234/python-dynalite-devices";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -208,7 +208,7 @@
|
||||
"dunehd" = ps: with ps; [ pdunehd ];
|
||||
"dwd_weather_warnings" = ps: with ps; [ dwdwfsapi ];
|
||||
"dweet" = ps: with ps; [ ]; # missing inputs: dweepy
|
||||
"dynalite" = ps: with ps; [ ]; # missing inputs: dynalite_devices
|
||||
"dynalite" = ps: with ps; [ dynalite-devices ];
|
||||
"eafm" = ps: with ps; [ aioeafm ];
|
||||
"ebox" = ps: with ps; [ ]; # missing inputs: pyebox
|
||||
"ebusd" = ps: with ps; [ ]; # missing inputs: ebusdpy
|
||||
@@ -1149,6 +1149,7 @@
|
||||
"dte_energy_bridge"
|
||||
"duckdns"
|
||||
"dunehd"
|
||||
"dynalite"
|
||||
"eafm"
|
||||
"ecobee"
|
||||
"econet"
|
||||
|
||||
@@ -2492,6 +2492,8 @@ in {
|
||||
|
||||
dyn = callPackage ../development/python-modules/dyn { };
|
||||
|
||||
dynalite-devices = callPackage ../development/python-modules/dynalite-devices { };
|
||||
|
||||
dynd = callPackage ../development/python-modules/dynd { };
|
||||
|
||||
easydict = callPackage ../development/python-modules/easydict { };
|
||||
|
||||
Reference in New Issue
Block a user