My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/avion/default.nix

37 lines
724 B

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