33 lines
627 B
Nix
33 lines
627 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lightwave";
|
|
version = "0.20";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-jhffMDhgQ257ZQxvidiRgBSnZvzLJFKNU2NZ8AyGTGc=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"lightwave"
|
|
];
|
|
|
|
# Requires phyiscal hardware
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Module for interacting with LightwaveRF hubs";
|
|
homepage = "https://github.com/GeoffAtHome/lightwave";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|