Skip to content

Commit

Permalink
python3Packages.pyflipper: init at unstable 2024-04-15
Browse files Browse the repository at this point in the history
  • Loading branch information
siraben committed Sep 22, 2024
1 parent 732b635 commit e629abd
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/pyflipper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
websocket-client
}:

buildPythonPackage rec {
pname = "pyflipper";
version = "unstable-2024-04-15";
format = "setuptools";

src = fetchFromGitHub {
owner = "wh00hw";
repo = "pyFlipper";
rev = "e8a82a25eb766fac53a2e6e5fff6505f60cf0897";
hash = "sha256-CQ6oVVkLxyoNoe7L0USfal1980VkfiuHc4cqXTsZ2Jc=";
};

propagatedBuildInputs = [ pyserial websocket-client ];

pythonImportsCheck = [
"pyflipper"
];

meta = with lib; {
description = "Flipper Zero Python CLI Wrapper";
homepage = "https://github.com/wh00hw/pyFlipper";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11257,6 +11257,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 { };
Expand Down

0 comments on commit e629abd

Please sign in to comment.