python3Packages.pyswitchmate: init at 0.5.1

This commit is contained in:
Jamie Magee
2025-08-10 12:50:40 -07:00
parent 2872da6706
commit 6a98a4c596
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,36 @@
{
lib,
bleak,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pyswitchmate";
version = "0.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pySwitchmate";
tag = version;
hash = "sha256-14rjlIsSFNP2OzuRamAJw9BaA+Z5EuQBEsrD02uQdFk=";
};
build-system = [ setuptools ];
dependencies = [ bleak ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "switchmate" ];
meta = {
description = "A library to communicate with Switchmate";
homepage = "https://github.com/Danielhiversen/pySwitchmate";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
+2
View File
@@ -14111,6 +14111,8 @@ self: super: with self; {
pyswitchbot = callPackage ../development/python-modules/pyswitchbot { };
pyswitchmate = callPackage ../development/python-modules/pyswitchmate { };
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
pysyncobj = callPackage ../development/python-modules/pysyncobj { };