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

This commit is contained in:
Fabian Affolter 2024-11-28 08:51:46 +01:00 committed by GitHub
commit 013b002ff9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{
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 ];
};
}

View File

@ -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 { };