mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-11 15:53:41 +00:00
35 lines
702 B
Nix
35 lines
702 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "lightwave2";
|
|
version = "0.9.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-7NFzfUDIDa36VfOsqcaAx8AbWHftfwTyYr0hu6VyAtI=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ aiohttp ];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "lightwave2" ];
|
|
|
|
meta = {
|
|
description = "Library to interact with LightWaveRF 2nd Gen lights and switches";
|
|
homepage = "https://github.com/bigbadblunt/lightwave2";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|