blob: 113ebc4d7b5b27edec123add8424527a6d2ca6ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
setuptools,
websocket-client,
}:
buildPythonPackage rec {
pname = "pyflipper";
version = "0.21";
pyproject = true;
src = fetchFromGitHub {
owner = "wh00hw";
repo = "pyFlipper";
tag = "v${version}";
hash = "sha256-IMd9RzGblfsyDH4TC+ip5a2zx4gzXbzjIaWMldEy5xk=";
};
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";
changelog = "https://github.com/wh00hw/pyFlipper/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siraben ];
};
}
|