nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 825 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyserial, 6 setuptools, 7 websocket-client, 8}: 9 10buildPythonPackage rec { 11 pname = "pyflipper"; 12 version = "0.21"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "wh00hw"; 17 repo = "pyFlipper"; 18 tag = "v${version}"; 19 hash = "sha256-IMd9RzGblfsyDH4TC+ip5a2zx4gzXbzjIaWMldEy5xk="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 pyserial 26 websocket-client 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "pyflipper" ]; 33 34 meta = { 35 description = "Flipper Zero Python CLI Wrapper"; 36 homepage = "https://github.com/wh00hw/pyFlipper"; 37 changelog = "https://github.com/wh00hw/pyFlipper/releases/tag/${src.tag}"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ siraben ]; 40 }; 41}