depot/third_party/nixpkgs/pkgs/development/python-modules/lightwave2/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

37 lines
701 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "lightwave2";
version = "0.8.21";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Zgsgt78ll/5NVSca4lnxXYkiw5FE2WgcO10o/IZaHgQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"lightwave2"
];
meta = with lib; {
description = "Library to interact with LightWaveRF 2nd Gen lights and switches";
homepage = "https://github.com/bigbadblunt/lightwave2";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}