depot/third_party/nixpkgs/pkgs/development/python-modules/lightwave2/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

37 lines
701 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "lightwave2";
version = "0.8.23";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-umhFqeX16c6o006MU9/9h4EnqcX7v8C5q3XjxYgi+xk=";
};
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 ];
};
}