depot/third_party/nixpkgs/pkgs/development/python-modules/lightwave2/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

37 lines
701 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "lightwave2";
version = "0.8.19";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-S4nHJMaSX8qCYoUnMqb6AbObTR96Wg098FJAM+dQJTc=";
};
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 ];
};
}