Unverified Commit 4a95d695 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.pylitejet: init at 0.3.0 (#347809)

parents 45ef038e 3a48d88e
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pyserial,
  pythonOlder,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "pylitejet";
  version = "0.6.3";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "joncar";
    repo = "pylitejet";
    rev = "refs/tags/v${version}";
    hash = "sha256-LHNMKU7aMDtSi4K+pZqRF9vAL3EKOFRFFNXKsQJVP2Y=";
  };

  build-system = [ setuptools-scm ];

  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";
    changelog = "https://github.com/joncar/pylitejet/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+3 −1
Original line number Diff line number Diff line
@@ -2414,7 +2414,8 @@
    "lirc" = ps: with ps; [
    ]; # missing inputs: python-lirc
    "litejet" = ps: with ps; [
    ]; # missing inputs: pylitejet
      pylitejet
    ];
    "litterrobot" = ps: with ps; [
      pylitterbot
    ];
@@ -5404,6 +5405,7 @@
    "light"
    "linear_garage_door"
    "linkplay"
    "litejet"
    "litterrobot"
    "livisi"
    "local_calendar"
+2 −0
Original line number Diff line number Diff line
@@ -11617,6 +11617,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 { };