Commit fafcc799 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.pylitejet: init at 0.3.0

Library for interfacing with the LiteJet lighting system

https://github.com/joncar/pylitejet
parent 28926771
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };