python3Packages.pyswitchmate: init at 0.5.1

Changed files
+38
pkgs
development
python-modules
pyswitchmate
top-level
+36
pkgs/development/python-modules/pyswitchmate/default.nix
···
···
+
{
+
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
pkgs/top-level/python-packages.nix
···
pyswitchbot = callPackage ../development/python-modules/pyswitchbot { };
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
pysyncobj = callPackage ../development/python-modules/pysyncobj { };
···
pyswitchbot = callPackage ../development/python-modules/pyswitchbot { };
+
pyswitchmate = callPackage ../development/python-modules/pyswitchmate { };
+
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
pysyncobj = callPackage ../development/python-modules/pysyncobj { };