Unverified Commit 013b002f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.pyflipper: init at unstable 2024-04-15 (#343729)

parents 59459019 7025e30f
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pyserial,
  pythonOlder,
  setuptools,
  websocket-client,
}:

buildPythonPackage rec {
  pname = "pyflipper";
  version = "0.18-unstable-2024-04-15";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchFromGitHub {
    owner = "wh00hw";
    repo = "pyFlipper";
    # https://github.com/wh00hw/pyFlipper/issues/20
    rev = "e8a82a25eb766fac53a2e6e5fff6505f60cf0897";
    hash = "sha256-CQ6oVVkLxyoNoe7L0USfal1980VkfiuHc4cqXTsZ2Jc=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pyserial
    websocket-client
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "pyflipper" ];

  meta = {
    description = "Flipper Zero Python CLI Wrapper";
    homepage = "https://github.com/wh00hw/pyFlipper";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ siraben ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11566,6 +11566,8 @@ self: super: with self; {
  pyflume = callPackage ../development/python-modules/pyflume { };
  pyflipper = callPackage ../development/python-modules/pyflipper { };
  pyfma = callPackage ../development/python-modules/pyfma { };
  pyfribidi = callPackage ../development/python-modules/pyfribidi { };