Merge pull request #114543 from fabaff/switchbot
python3Packages.pyswitchbot: init at 0.9.1
This commit is contained in:
commit
17f2d43f42
31
pkgs/development/python-modules/pyswitchbot/default.nix
Normal file
31
pkgs/development/python-modules/pyswitchbot/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib
|
||||||
|
, bluepy
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyswitchbot";
|
||||||
|
version = "0.9.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Danielhiversen";
|
||||||
|
repo = "pySwitchbot";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "16p11fmyms4q93m3rna76nkp2la9m8lmfmaflbvga666vljwfw6v";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ bluepy ];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "switchbot" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library to control Switchbot IoT devices";
|
||||||
|
homepage = "https://github.com/Danielhiversen/pySwitchbot";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -801,7 +801,7 @@
|
|||||||
"swiss_public_transport" = ps: with ps; [ python-opendata-transport ];
|
"swiss_public_transport" = ps: with ps; [ python-opendata-transport ];
|
||||||
"swisscom" = ps: with ps; [ ];
|
"swisscom" = ps: with ps; [ ];
|
||||||
"switch" = ps: with ps; [ ];
|
"switch" = ps: with ps; [ ];
|
||||||
"switchbot" = ps: with ps; [ ]; # missing inputs: PySwitchbot
|
"switchbot" = ps: with ps; [ pyswitchbot ];
|
||||||
"switcher_kis" = ps: with ps; [ aioswitcher ];
|
"switcher_kis" = ps: with ps; [ aioswitcher ];
|
||||||
"switchmate" = ps: with ps; [ ]; # missing inputs: pySwitchmate
|
"switchmate" = ps: with ps; [ ]; # missing inputs: pySwitchmate
|
||||||
"syncthru" = ps: with ps; [ url-normalize ]; # missing inputs: pysyncthru
|
"syncthru" = ps: with ps; [ url-normalize ]; # missing inputs: pysyncthru
|
||||||
|
@ -6093,6 +6093,8 @@ in {
|
|||||||
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
|
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pyswitchbot = callPackage ../development/python-modules/pyswitchbot { };
|
||||||
|
|
||||||
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
|
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
|
||||||
|
|
||||||
pysyncobj = callPackage ../development/python-modules/pysyncobj { };
|
pysyncobj = callPackage ../development/python-modules/pysyncobj { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user