depot/third_party/nixpkgs/pkgs/development/python-modules/aiolifx/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

42 lines
826 B
Nix

{ lib
, async-timeout
, fetchPypi
, buildPythonPackage
, pythonOlder
, ifaddr
, bitstring
}:
buildPythonPackage rec {
pname = "aiolifx";
version = "0.8.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NiNKFrWxpGkwbb7tFEDD5jZ6ETW20BBIqrdjCsL/DkY=";
};
propagatedBuildInputs = [
async-timeout
bitstring
ifaddr
];
# tests are not implemented
doCheck = false;
pythonImportsCheck = [
"aiolifx"
];
meta = with lib; {
description = "Module for local communication with LIFX devices over a LAN";
homepage = "https://github.com/frawau/aiolifx";
changelog = "https://github.com/frawau/aiolifx/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ netixx ];
};
}