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

31 lines
644 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy3k
, ifaddr
, bitstring
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "0.6.9";
src = fetchPypi {
inherit pname version;
sha256 = "0c28e9c058ee504a07eec11cb333bc6496d233da100dcab9c33549e9eb4985c0";
};
# tests are not implemented
doCheck = false;
disabled = !isPy3k;
propagatedBuildInputs = [ bitstring ifaddr ];
meta = with lib; {
homepage = "https://github.com/frawau/aiolifx";
license = licenses.mit;
description = "API for local communication with LIFX devices over a LAN with asyncio";
maintainers = with maintainers; [ netixx ];
};
}