python312Packages.pylitejet: init at 0.3.0

Library for interfacing with the LiteJet lighting system

https://github.com/joncar/pylitejet
This commit is contained in:
Fabian Affolter 2024-10-10 23:33:40 +02:00
parent 289267711c
commit fafcc799e2
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pylitejet";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "joncar";
repo = "pylitejet";
rev = "refs/tags/${version}";
hash = "sha256-fgsAb8zvmIKtitgAQbAPfTzbEGGaj3dU6FXzlSyy4Dk=";
};
build-system = [ setuptools ];
dependencies = [ pyserial ];
# Only custom tests which uses the CLi are available
doCheck = false;
pythonImportsCheck = [ "pylitejet" ];
meta = {
description = "Library for interfacing with the LiteJet lighting system";
homepage = "https://github.com/joncar/pylitejet";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -11615,6 +11615,8 @@ self: super: with self; {
pylion = callPackage ../development/python-modules/pylion { };
pylitejet = callPackage ../development/python-modules/pylitejet { };
pylitterbot = callPackage ../development/python-modules/pylitterbot { };
py-libzfs = callPackage ../development/python-modules/py-libzfs { };