python3Packages.avion: init at 0.10

This commit is contained in:
Fabian Affolter 2021-01-26 08:54:08 +01:00
parent 443e4c88b5
commit 6796193442
2 changed files with 39 additions and 0 deletions

View 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 ];
};
}

View File

@ -547,6 +547,8 @@ in {
avea = callPackage ../development/python-modules/avea { }; avea = callPackage ../development/python-modules/avea { };
avion = callPackage ../development/python-modules/avion { };
avro3k = callPackage ../development/python-modules/avro3k { }; avro3k = callPackage ../development/python-modules/avro3k { };
avro = callPackage ../development/python-modules/avro { }; avro = callPackage ../development/python-modules/avro { };