depot/third_party/nixpkgs/pkgs/development/python-modules/avion/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

37 lines
724 B
Nix

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