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:
parent
289267711c
commit
fafcc799e2
39
pkgs/development/python-modules/pylitejet/default.nix
Normal file
39
pkgs/development/python-modules/pylitejet/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user