Merge pull request #110399 from fabaff/avion
This commit is contained in:
commit
d0300e7713
37
pkgs/development/python-modules/avion/default.nix
Normal file
37
pkgs/development/python-modules/avion/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, bluepy
|
||||
, buildPythonPackage
|
||||
, csrmesh
|
||||
, fetchPypi
|
||||
, pycryptodome
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avion";
|
||||
version = "0.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zgv45086b97ngyqxdp41wxb7hpn9g7alygc21j9y3dib700vzdz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bluepy
|
||||
csrmesh
|
||||
pycryptodome
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
# bluepy/uuids.json is not found
|
||||
# pythonImportsCheck = [ "avion" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for controlling Avi-on Bluetooth dimmers";
|
||||
homepage = "https://github.com/mjg59/python-avion";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
29
pkgs/development/python-modules/bluepy-devices/default.nix
Normal file
29
pkgs/development/python-modules/bluepy-devices/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, bluepy
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluepy-devices";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "bluepy_devices";
|
||||
inherit version;
|
||||
sha256 = "02zzzivxq2vifgs65m2rm8pqlsbzsbc419c032irzvfxjx539mr8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ bluepy ];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "bluepy_devices" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python BTLE Device Interface for bluepy";
|
||||
homepage = "https://github.com/bimbar/bluepy_devices";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
32
pkgs/development/python-modules/csrmesh/default.nix
Normal file
32
pkgs/development/python-modules/csrmesh/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, bluepy
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pycryptodomex
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "csrmesh";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03lzam54ypcfvqvikh3gsrivvlidmz1ifdq15xv8c5i3n5b178ag";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bluepy
|
||||
pycryptodomex
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "csrmesh" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the CSRMesh bridge protocol";
|
||||
homepage = "https://github.com/nkaminski/csrmesh";
|
||||
license = with licenses; [ lgpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -61,7 +61,7 @@
|
||||
"auth" = ps: with ps; [ aiohttp-cors ];
|
||||
"automation" = ps: with ps; [ aiohttp-cors ];
|
||||
"avea" = ps: with ps; [ avea ];
|
||||
"avion" = ps: with ps; [ ]; # missing inputs: avion
|
||||
"avion" = ps: with ps; [ avion ];
|
||||
"awair" = ps: with ps; [ ]; # missing inputs: python_awair
|
||||
"aws" = ps: with ps; [ aiobotocore ];
|
||||
"axis" = ps: with ps; [ aiohttp-cors axis paho-mqtt ];
|
||||
|
@ -557,6 +557,8 @@ in {
|
||||
|
||||
avea = callPackage ../development/python-modules/avea { };
|
||||
|
||||
avion = callPackage ../development/python-modules/avion { };
|
||||
|
||||
avro3k = callPackage ../development/python-modules/avro3k { };
|
||||
|
||||
avro = callPackage ../development/python-modules/avro { };
|
||||
@ -997,6 +999,8 @@ in {
|
||||
|
||||
bluepy = callPackage ../development/python-modules/bluepy { };
|
||||
|
||||
bluepy-devices = callPackage ../development/python-modules/bluepy-devices { };
|
||||
|
||||
bme680 = callPackage ../development/python-modules/bme680 { };
|
||||
|
||||
bokeh = callPackage ../development/python-modules/bokeh { };
|
||||
@ -1507,6 +1511,8 @@ in {
|
||||
|
||||
crytic-compile = callPackage ../development/python-modules/crytic-compile { };
|
||||
|
||||
csrmesh = callPackage ../development/python-modules/csrmesh { };
|
||||
|
||||
csscompressor = callPackage ../development/python-modules/csscompressor { };
|
||||
|
||||
cssmin = callPackage ../development/python-modules/cssmin { };
|
||||
|
Loading…
Reference in New Issue
Block a user