nixpkgs/pkgs/development/python-modules/lightwave2/default.nix
2021-12-20 21:24:36 +00:00

37 lines
723 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "lightwave2";
version = "0.7.9";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "0cd36d7f7710afa7094fce422422196532d4fbccfa31bfcb642e1674a137900a";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"lightwave2"
];
meta = with lib; {
description = "Python library to interact with LightWaveRF 2nd Gen lights and switches";
homepage = "https://github.com/bigbadblunt/lightwave2";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}